I'm a beginner with Angular 6 and encountered this error in my project:
ERROR in multi ./node_modules/bootstrap/dist/css/bootstrap.min.css ./styles.css
Module not found: Error: Can't resolve 'C:\Users\User\e-CommerceWebsite\styles.css' in 'C:\Users\User\e-CommerceWebsite'
The browser displays:
cannot Get
In angular.json file:
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"styles.css"
],
"scripts": [
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/popper.js/dist/popper.min.js",
"./node_modules/bootstrap/dist/js/bootstrap.min.js"
]
Content of styles.css file:
@import '~bootstrap/dist/css/bootstrap.min.css';
...
...
...
Reference to solution: bootstrap not connect to the angular 6?
Seeking assistance to resolve this error.