Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Side Navigation + Login Template #1362

Open
georgianastasov opened this issue Dec 17, 2024 · 0 comments
Open

Errors in Side Navigation + Login Template #1362

georgianastasov opened this issue Dec 17, 2024 · 0 comments
Assignees

Comments

@georgianastasov
Copy link

Description

When selecting the Side navigation + login project template in Ignite UI CLI for Angular, numerous errors occur related to the authentication module. These errors prevent the project from building and running successfully.

Errors include:

  1. Missing files such as polyfills.ngtypecheck.ts and polyfills.ts.
  2. Standalone components being improperly declared in NgModule.
  3. Errors with angular-auth-oidc-client including deprecated or missing members such as:
    • OidcConfigService
    • OpenIDImplicitFlowConfiguration
  4. Index signature access issues (e.g., requiring bracket notation for properties).
  5. Injection token errors and incorrect method usage (e.g., getToken() instead of getIdToken()).
  • Ignite UI CLI version: 14.3.6
  • Framework: Angular
  • Project type: igx-ts

Steps to reproduce

  1. Run ig new to create a new project.
  2. Choose the following options:
    • Project Name: demo
    • Framework: Angular
    • Project type: Ignite UI for Angular
    • Template: Side navigation + login
    • Theme: Default
  3. Complete the setup and choose Run.
  4. Observe the errors during the build.

Result

The project fails to build and start. Multiple TypeScript errors appear, especially related to the authentication module, missing files, and deprecated methods.

Expected result

The project should build and run without any errors. Authentication components should integrate properly without requiring additional modifications.

Attachments

1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants