-
-
Notifications
You must be signed in to change notification settings - Fork 78
Error when building against 1.4.x: export 'ɵɵdefineInjectable' was not found in '@angular/core' #79
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
Comments
Hello, @niklaskarl . I believe this is an angular issue related to what versions you have installed. Mind posting the package.json here ? |
I have the same issue after setting up a fresh project with angular cli 7.3.8... also tried updating to angular version 8.2.5 (current stable): issue remains.
|
@niklaskarl @rbschiefer still believe this is an angular issue. I already reported a similar error in a another package before: Nolanus/ngx-page-scroll#363 Maybe uninstalling and installing the libraries with current versions might fix regarding this: angular/angular#30413 (comment) |
I was having the same issue with 1.4.x and angular 7. I had to use 1.3.2 for it to work with angular 7. |
@andrefarzat uninstalling/installing libraries did not work! |
It seems like v1.4.x is dependant on angular 8 and v1.3.2 on angular 7. Can you comment @andrefarzat ? In angular 8 I know they renamed |
@TajMahPaul you're right about the dependencies. And true that they renamed |
@andrefarzat I would suggest making it clear somewhere in your documentation which version is recommended for version 'x' of angular. Maybe make it part of the npm install process? I can help with whatever you think is best. |
Just added a note on the FAQ |
There seems to be an issue with versions 1.4.x. When upgrading the project to these versions I get the following warning when building with Angular 7.2 which ultimately leads to an runtime error in the browser.
WARNING in ./node_modules/angular-plotly.js/fesm5/angular-plotly.js.js 128:36-54
export 'ɵɵdefineInjectable' was not found in '@angular/core'
Opening this file I find the import with the strange 'ɵ' characters.
The text was updated successfully, but these errors were encountered: