I'm trying to install the isemail
npm library. The install seems to go well but when I run yarn start:dev
, which is a shortcut for "npm run build:dev && ./scripts/gendevconfig.sh && cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=development node server/server.js",
I get a bunch of node-sass errors that all remend the same step:
run: npm rebuild node-sass --force
I'd like to not have to do this step every time I install a new package via yarn. Any ideas on how to rectify this?
Thanks!
I'm trying to install the isemail
npm library. The install seems to go well but when I run yarn start:dev
, which is a shortcut for "npm run build:dev && ./scripts/gendevconfig.sh && cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=development node server/server.js",
I get a bunch of node-sass errors that all remend the same step:
run: npm rebuild node-sass --force
I'd like to not have to do this step every time I install a new package via yarn. Any ideas on how to rectify this?
Thanks!
Share Improve this question edited Mar 19, 2019 at 6:02 tk421 5,9776 gold badges26 silver badges36 bronze badges asked Mar 18, 2019 at 21:11 Zack ShapiroZack Shapiro 7,03819 gold badges88 silver badges162 bronze badges 2- check versions. this seems like quite old and resolved issue. github./sass/node-sass/issues/1918 – bigless Commented Mar 19, 2019 at 2:23
-
1
node-sass 4.14.1 rebuilds every
yarn
run. Is it too old and where should I update? They just want fix it.. – vp_arth Commented Jul 8, 2020 at 12:32
2 Answers
Reset to default 2Try:
yarn install --force
Work for me.
This problem happens usually because of inpatibility of node version with node-Sass.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744145544a4560403.html
评论列表(0条)