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

ERROR RuntimeError: NG0203: inject() must be called from an injection context such as a constructor #271

Open
1 of 2 tasks
Tracked by #276
benpsnyder opened this issue Apr 24, 2024 · 0 comments
Open
1 of 2 tasks
Tracked by #276
Labels
bug Something isn't working

Comments

@benpsnyder
Copy link
Contributor

Please provide the environment you discovered this bug in.

Build process related to static pages

Which area/package is the issue in?

Don't know / other

Description

Angular static pages

Please provide the exception or error you saw

ERROR RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`. Find more at https://angular.io/errors/NG0203

Other information

I'll be working on it and closing this issue.

I would be willing to submit a PR to fix this issue

  • Yes
  • No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant