-
Notifications
You must be signed in to change notification settings - Fork 12k
Angular-cli-webpack 3rd party scripts or styles are not loading #1897
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
@echap - upgrading to 1.0.0-beta.11-webpack.8 fix this issue for me |
Thanks ! Upgrading to webpack.8 gives me bunches of errors... I'm gonna try with a carefully done ng init. Is there any upgrade guide to webpack 8 available ?
|
@echap update nodejs to 6.5 |
It's done :
With node.js version 6.5.0 . I can't even make a ng serve with it :( |
Note : I have globally installed the last version :
|
@echap that's not an error. If you want, you can install watchman https://facebook.github.io/watchman/ |
I'm having the same issue. I updated to the latest and the application is not loading the bootstrap styles or scripts. I haven't changed anything and followed the instructions from the README. |
I'm having the same issue on the latest version (v1.0.0-beta.11-webpack.8). After updating from version 1.0.0-beta.11-webpack.2 the scripts started working but the styles still aren't working. angular-cli: v1.0.0-beta.11-webpack.8
|
I'm having the same issue after updating to v1.0.0-beta.11-webpack.8 from 1.0.0-beta.11-webpack.2 scripts are now working but styles are not
|
Please use the upgrade instructions found in https://github.com/angular/angular-cli#webpack-update to upgrade projects to the latest version ( |
i have version 1.0.14 and it only loads the first script but not the second ], |
@filipesilva is it possible to make load scripts on every change state? because when i click back button in browser, my scripts dont work, only when state init. thanks |
Having the same problem for Bootstrap Styles and Scripts are not loading. |
I have the similar problem css files are loaded and I am able to see them on dev tools but scripts are not getting loaded. I am using the below configuration. Angular CLI: 1.6.2 @angular/cli: 1.6.2 Tried with different versions of angular/cli but its not working. As an alternative I am directly referencing the required js files in my index.html. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Hi,
Following those instructions, I've been trying to add in the global scope bootstrap. In order to do this, I changed my angular-cli.json this way :
But it does not get loaded... I've been spending a day on finding why it does not work (I have of course bootstrap installed (bootstrap 3 via npm)
Also here is my angular-cli version :
angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.7
os: darwin x64
Any help would be much welcome
The text was updated successfully, but these errors were encountered: