Yarn - Node Sass does not yet support my current environment

后端 未结 6 1350
春和景丽
春和景丽 2021-01-07 16:48

I\'m using Sage WordPress starter theme - https://github.com/roots/sage.

From today when I run yarn build (webpack --progress --config /webpack.config.js) appears th

6条回答
  •  感动是毒
    2021-01-07 17:28

    I'm using OSX latest version(10.14.4 (18E226)) and node 12.

    While using node-sass 4.11, I had g++ error(../src/create_string.cpp:17:25: error: no matching constructor for initialization of 'v8::String::Utf8Value') while trying npm install, npm rebuild(link) which did not work.

    I solved this by updating node-sass to 4.12(npm install node-sass), as the github issue on the node-sass says that support for node 12 is implemented in 4.12 version.

提交回复
热议问题