我正在使用Sage WordPress入门主题-https: //github.com/roots/sage。
从今天开始,当我运行yarn build(webpack --progress --config /webpack.config.js)时,出现以下错误:模块构建失败:ModuleBuildError:模块构建失败:错误:Node Sass尚不支持您当前的环境:OS X具有不受支持的运行时的64位(72)有关支持哪些环境的更多信息,请参见:https : //github.com/sass/node-sass/releases/tag/v4.8.3
我还尝试通过brew卸载并重新安装node,npm&yarn,但没有任何变化。
如果我运行npm install这是错误
../src/create_string.cpp:17:25: error: no matching constructor for initialization of 'v8::String::Utf8Value'
v8::String::Utf8Value string(value);
^ ~~~~~
/Users/MYPC/.node-gyp/12.1.0/include/node/v8.h:3002:5: note: candidate constructor not viable: no known conversion from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
for 1st argument
Utf8Value(const Utf8Value&) = delete;
^
/Users/MYPC/.node-gyp/12.1.0/include/node/v8.h:2995:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
Utf8Value(Isolate* isolate, Local<v8::Value> obj);
^
1 error generated.
make: *** [Release/obj.target/binding/src/create_string.o] Error …Run Code Online (Sandbox Code Playgroud)