ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader!./~/sass-loader!./src/scss/style.scss
Module build failed: Error: Cannot find module 'node-sass'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (D:\Users\wb278387\ng2\ng2-admin\node_modules\sass-loader\index.js:4:12)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at loadLoader (D:\Users\wb278387\ng2\ng2-admin\node_modules\loader-runner\lib\loadLoader.js:13:17)
at iteratePitchingLoaders (D:\Users\wb278387\ng2\ng2-admin\node_modules\loader-runner\lib\LoaderRunner.js:169:2)
at iteratePitchingLoaders (D:\Users\wb278387\ng2\ng2-admin\node_modules\loader-runner\lib\LoaderRunner.js:165:10)
at D:\Users\wb278387\ng2\ng2-admin\node_modules\loader-runner\lib\LoaderRunner.js:173:18
@ ./src/scss/style.scss 4:14-203
@ multi ./src/scss/style.scss ./~/primeng/resources/themes/omega/theme.css ./~/primeng/resources/primeng.min.css
This problem is caused by not installing python. After that, configure the python environment variables. NPM link again
Similar Posts:
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] Vue installs less Error: Failed to compile with 1 errors
- How to Solve Error: ENOENT: no such file or directory, scandir ‘..\node_modules\node-sass\vendor’
- Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 7.x
- Module build failed: TypeError: this.getResolve is not a function at Object.loader node-sass Install Error
- Cannot findmodule’webpack-cli/bin/config-yargs
- Mac uniapp Compile Error: sass-loader [How to Solve]
- Use sass and less in Vue and solve the problem of error reporting (this. Getoptions is not a function)
- Cannot find module ‘../lib/utils/unsupported.js’
- Solve Error: MissingSchemaError: Schema hasn’t been registered for model “YourModel”.