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
For me, this solution works. here are the steps:
v8::String::Utf8Value string(value);
to v8::String::Utf8Value string(v8::Isolate::GetCurrent(), value);
if you couldn't find "node-sass" folder rerun "npm install" and when you see node-sass logs in the console, terminate the process with ctrl+c.
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
node 12 have this problem when run npm install node-sass
,downgrading node to 10.16 works
Upgrade node-sass to 4.12.0 and it will fix the issue.
If anyone is using Amazon EC2 AMI Image then follow below instructions
node-sass build will be successful as per your AMI Image.