Error: Cannot find module 'node-sass'

Post Reply
EFR
Posts: 6
Joined: 01 May 2019, 13:41

19 Jun 2019, 11:51

Using version 7.0.0

Getting the error, even though i've installed and such.

ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module 'node-sass'
Require stack:
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\sass-loader\lib\loader.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\loader-runner\lib\loadLoader.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\loader-runner\lib\LoaderRunner.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\webpack\lib\NormalModule.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\webpack\lib\NormalModuleFactory.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\webpack\lib\Compiler.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\webpack\lib\webpack.js
- C:\Users\efr\Downloads\serenity-ng-7.0.0\node_modules\@angular-devkit\build-webpack\src\webpack\index.js......

merve7
Posts: 467
Joined: 12 Sep 2017, 10:44

24 Jun 2019, 13:26

Hi,
Could you try to install packages again after delete package-lock.json file and node_modules folder?

Post Reply

Return to “Serenity - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest