export 'x' was not found in @angular/core
See original GitHub issueHi,
I started getting this warnings today after I updated the package to version 1.3.7
WARNING in ./node_modules/ngx-device-detector/fesm5/ngx-device-detector.js 693:63-81 "export 'ɵɵdefineInjectable' was not found in '@angular/core'
WARNING in ./node_modules/ngx-device-detector/fesm5/ngx-device-detector.js 693:169-177 "export 'ɵɵinject' was not found in '@angular/core'
and then this error
core.js:15724 ERROR TypeError: Object(...) is not a function
My @angular/core version is 7.2.12.
Can you please help?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:19
Top Results From Across the Web
export 'ɵɵinject' was not found in '@angular/core'
The solution is to ensure all your packages are of the same versions. Check Package.json file to find ...
Read more >export 'ɵɵinject' was not found in '@angular/core' since v8.0.0 ...
It's just an empty Angular 7 project generated with ng new , then npm install the lib and just inject the service of...
Read more >NG0301: Export not found! - Angular
Ensure that all dependencies are properly imported and declared in your NgModules. For example, if the export not found is ngForm , we...
Read more >from non ecmascript module (only default export is available ...
I'm getting errors stating that angular/core/core has no exported member 'ɵɵFactoryDeclaration' while I ran ng serve command. The error I am getting is....
Read more >Export default was not found Error in JavaScript | bobbyhadz
The "export default was not found" error occurs when we try to import as default from a module that doesn't have a default...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am again facing this issue with “ngx-device-detector”: “^1.4.2”, package.json file looks something like below :
@biswas123
v2.0.0
is not for Angular v7 apps. Please downgrade to1.3.9