简体   繁体   中英

Fall in error after installing node-sass file

i am trying to run ionic serve with a new project but i keep on falling with this error

在此处输入图片说明

so i tried the following

  1. Removed node module folder and run sudo npm install .
  2. npm cache clean
  3. sudo npm install gulp-cli

Tried with the above could some one say where i am wrong I started with ionic start fileName blank

my config are

  • ionic (Ionic CLI) : 4.12.0 (/usr/local/lib/node_modules/ionic
  • Ionic Framework : @ionic/angular 4.1.1
  • @angular-devkit/build-angular : 0.13.6
  • @angular/cli : 7.3.6
  • @angular-devkit/schematics : 7.2.4
  • @ionic/angular-toolkit : 1.4.0

System:

  • NodeJS : v10.11.0 (/usr/local/bin/node)
  • npm : 6.4.1
  • OS : macOS Mojave

please someone help me to solve this issue

try installing it to your node modals with npm install node-sass command in your project directory

Or if that doesnt work try installing it globally with npm install -g node-sass

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM