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

0
7
Adv1


Adv2

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',

Choice 1 – With npm

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

npm set up
npm i sass
npm begin

Choice 2 – With yarn

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

yarn set up
yarn add sass
yarn begin
Adv3