Skip to content

Webpack missing module when Sass selected #2447

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

Open
1 task done
stherrienaspnet opened this issue Jan 8, 2017 · 4 comments
Open
1 task done

Webpack missing module when Sass selected #2447

stherrienaspnet opened this issue Jan 8, 2017 · 4 comments

Comments

@stherrienaspnet
Copy link
Collaborator

stherrienaspnet commented Jan 8, 2017

  • 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. (app.scss:4)
at webpack_require (bootstrap 05c6fa0…:50)
at Object. (app.js:30)
at webpack_require (bootstrap 05c6fa0…:50)
at webpackJsonpCallback (bootstrap 05c6fa0…:21)
at app.bundle.js:1

@stephengardner
Copy link

Anyone!?!

@Awk34
Copy link
Member

Awk34 commented Jan 28, 2017

Try reinstalling node-sass?

@Hosar
Copy link

Hosar commented Mar 12, 2017

Getting the same issue. It's fixed by npm i -S node-sass

@yuriyyakym
Copy link

@Hosar, node-sass should be installed as a devDependency, so use npm i -D node-sass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants