Software Engineering

[Solved] npm ERR! path node_modules/node-sass

[Solved] npm ERR! path node_modules/node-sass
Written by admin


In the event you get the next error and wish an answer, then look no additional!

npm ERR! code 1
npm ERR! path ./node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/construct.js

npm ERR! gyp verb cli   './node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',

Possibility 1 – With npm

First, take away the node-sass dependency out of your bundle.json, then:

npm set up
npm i sass
npm begin

Possibility 2 – With yarn

First, take away the node-sass dependency out of your bundle.json, then:

yarn set up
yarn add sass
yarn begin

About the author

admin

Leave a Comment