Unable to use npm start


Topic: Unable to use "npm start"

marami pro asked 4 years ago

I have installed node 8.12. I have downloaded "ng-uikit-pro-standard-6.2.6.zip" and place the extracted files in "c:\mdbpro" folder. I run: npm install @angular/cli@6.0.0 -g c:\mdbpro>  npm install c:\mdbpro>  npm start   I am getting error: `libsass` bindings not found. Try reinstalling `node-sass`? at 92% of compilation processes.   I have tried commands like: npm install --save-dev @angular-devkit/build-angular npm audit fix npm install --save-dev node-sass npm install node-sass npm -g install node-gyp npm rebuild node-sass   Nothing solved the issue. Please help me.    

Damian Gemza staff answered 4 years ago

Dear marami, This problem is not caused by our library, but by your environment probably. Could you please try to do the following steps, and check if the problem is gone?
sudo npm install -g n
sudo n 0.12.7
sudo npm install node-sass@2
sudo npm -g install node-gyp@3
Please also check the following links for more answers to your problem: LINK1, LINK2, LINK3 Also please try to remove package-lock.json file, remove node_modules directory and type npm install one more time. Also, you can try to do npm install with --unsafe-perm flag. Best Regards, Damian
Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Lenovo
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No