-
Notifications
You must be signed in to change notification settings - Fork 40
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
Adding ng bootstrap for twitter bootstrap cause failure to build nom start #1
Comments
I'm facing the same issue here, importing Material Module produces this error -
Or After importing the NgxBootstrap This error -
I'm guessing this issue is for all imports of third party modules. |
I am also getting the same error. Any solution to this problem? |
.../dist/ngfactory/node_modules/@angular/material/typings/index.ngfactory.ts:9
import * as i0 from '@angular/core';
^^^^^^
SyntaxError: Unexpected token import |
the problem is the js es5 as i see on stackoverflow. |
maybe this will help someone : |
Same problem here |
Hi,
Thanks for the tutorial. I've setup the same steps for my angular 4 app which works fine but when i add ng-bootstrap with npm install --save @ng-bootstrap/ng-bootstrap then import it to my module with import {NgbModule} from '@ng-bootstrap/ng-bootstrap and imports: [NgbModule.forRoot()] then the whole app fails to compile with npm start or production build. Could you help and let me know what is going wrong?
Thanks
The text was updated successfully, but these errors were encountered: