Webpack missing module when Sass selected
- [x] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
| Item | Version |
|---|---|
| generator-angular-fullstack | 4.1.1 |
| Node | 7.4.0 |
| npm | 4.0.5 |
| Operating System | Ubuntu 16.04 |
| etc | etc |
| Item | Answer |
|---|---|
| Transpiler | Babel |
| Markup | HTML |
| CSS | SCSS |
| Router | ui-router |
| Client Tests | Mocha |
| DB | SQL |
| Auth | Y |
| etc | etc |
When i sent the command gulp serve i got this message into my terminal: ERROR in ENOENT: no such file or directory, scandir '/home/steph/dev/test1/node_modules/node-sass/vendor' @ ./client/app/app.scss 4:14-120
The site is starting on a blank page and i can see into my chrome console Uncaught Error: Cannot find module "!!./../../node_modules/css-loader/index.js!./../../node_modules/sass-loader/index.js!./app.scss"
at webpackMissingModule (app.scss:4)
at Object.
Anyone!?!
Try reinstalling node-sass?
Getting the same issue. It's fixed by npm i -S node-sass
@Hosar, node-sass should be installed as a devDependency, so use npm i -D node-sass