-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Angular-cli V1.0.0 3rd party scripts or styles are not loading #5944
Comments
Work for me with @angular-cli: 1.0.0 @node: v6.10.0 @npm: 3.10.10 |
I'm also seeing this issue. Created an angular-cli app from scratch with angular-cli 1.0,0, node:7.8.0. In the json, i've got and this is the component:
This is the error I get at runtime with "ng serve" |
I faced a similar issue. In my case the css files were not loaded. On my Windows laptop I have a directory containing a symbolic link to another directory. My best guess is that webpack is not compatible with symbolic link directories on Windows. An example: full path to my project: c:\Users\Public\Documents\angular-rocks if I start my project from the full path then the css files are loaded. |
@nguyendnhat without a full repro I think you have a bad path somewhere, or you are misconfiguring your library. |
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. |
I'm using "@angular/cli": "^1.0.0"
And add material lite in to project
"apps": [
{
"root": "Client",
"outDir": "wwwroot/dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "CRM",
"styles": [],
"scripts": [ "../node_modules/material-design-lite/material.min.js" ]
}
],
But it does not get loaded.
How fix it.
@node: v6.10.2
@npm: 3.10.10
The text was updated successfully, but these errors were encountered: