Yarn - Node Sass does not yet support my current environment
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.
this is what worked for me. Downgrade your node version to 10.16.0 node 12 still has some issues