Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Can not build my project after update of dependencies with npm. (MDB Vue Update v.5.0.0)

Ingvaldsen free asked 6 years ago


[INFO] ERROR in ./node_modules/mdbvue/src/components/pro/Parallax.vue [INFO] Module not found: Error: Can't resolve 'sass-loader' in 'C:\Privat\gambling\frontend\node_modules\mdbvue\src\components\pro' [ERROR] npm ERR! code ELIFECYCLE [ERROR] npm ERR! errno 1 [INFO] @ ./node_modules/mdbvue/src/components/pro/Parallax.vue 2:2-383 [ERROR] npm ERR! frontend@1.0.0 build: node build/build.js [ERROR] npm ERR! Exit status 1 [INFO] @ ./node_modules/mdbvue/src/index.js [ERROR] npm ERR! [ERROR] npm ERR! Failed at the frontend@1.0.0 build script. [INFO] @ ./src/main.js [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above. [INFO] [INFO] Build failed with errors.


Ingvaldsen free commented 6 years ago

I figured it out. I had to install this: npm install --save-dev node-sass sass-loader


Bartłomiej Malanowski staff commented 5 years ago

I'm glad you found a solution to your issue. Also, thank you for sharing it with us!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.8.2
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No