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

inject() must be called from an injection context ? #99

Open
yonimoses opened this issue Jan 17, 2022 · 0 comments
Open

inject() must be called from an injection context ? #99

yonimoses opened this issue Jan 17, 2022 · 0 comments

Comments

@yonimoses
Copy link

Hi

Followed the install guide, and i'm getting this error.

"Error: inject() must be called from an injection context
    at injectInjectorOnly (http://localhost:4200/vendor.js:139697:15)
    at Module.ɵɵinject (http://localhost:4200/vendor.js:139707:61)
    at Object.**GuidedTourService_Factory** [as factory] (http://localhost:4200/vendor.js:18662:156)
    at R3Injector.hydrate (http://localhost:4200/vendor.js:204423:35)
    at R3Injector.get (http://localhost:4200/vendor.js:204242:33)
    at NgModuleRef.get (http://localhost:4200/vendor.js:214781:33)
    at Object.get (http://localhost:4200/vendor.js:214458:35)
    at lookupTokenUsingModuleInjector (http://localhost:4200/vendor.js:196337:39)
    at getOrCreateInjectable (http://localhost:4200/vendor.js:196449:12)
    at Module.ɵɵdirectiveInject (http://localhost:4200/vendor.js:207359:12)"

any suggestions?

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

1 participant