You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the browsers console, you will see an error like this:
Error: Unexpected value '[object Object]' imported by the module 'AppModule' ...
Mention any other details that might be useful.
After some debugging, I noticed, that ng-bootstrap was bundled in the main.bundle.js and not in the vendor.bundle.js. It's peerDependencies were as well in the main.bundle.js.
The text was updated successfully, but these errors were encountered:
After some more debugging, I noticed, that ng-bootstrap is also bundled in the main.bundle.js if the project isn't ejected. But the peerDependencies aren't added to the main.bundle.js, like it should be.
I'm sorry but after you eject you're on your own. We try to guarantee it works for the majority of cases via tests but now you have a webpack config so you should be able to adapt it at will.
OS?
Ubuntu 16.04
Versions.
@angular/cli: 1.0.0-rc.0 (e)
node: 7.5.0
os: linux x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/cli: 1.0.0-rc.0
@angular/compiler-cli: 2.4.8
npm: 4.1.2
Repro steps.
ng eject
The log given by the failure.
In the browsers console, you will see an error like this:
Error: Unexpected value '[object Object]' imported by the module 'AppModule' ...
Mention any other details that might be useful.
After some debugging, I noticed, that ng-bootstrap was bundled in the
main.bundle.js
and not in thevendor.bundle.js
. It's peerDependencies were as well in themain.bundle.js
.The text was updated successfully, but these errors were encountered: