admin管理员组文章数量:1396829
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.
版权声明:本文标题:javascript - Why do I have to run npm rebuild node-sass --force after every time I do a `yarn add`? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744145543a2592817.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论