0
我试图安装咕噜-libsass这样的:错误安装NPM咕噜-libsass
npm install grunt-libsass --save-dev
,但我得到这个错误:
npm WARN engine [email protected]: wanted: {"node":"0.10.27"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN engine [email protected]: wanted: {"node":"0.10.27"} (current: {"node":"5.1.1","npm":"3.3.12"})
npm WARN deprecated [email protected]: No longer maintained
> [email protected] install /Applications/MAMP/htdocs/tome/wp-content/node_modules/node-sass
> node build.js
(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:
../../nan/nan.h:189:68: error: too many arguments to function call, expected at most 2, have 4
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/Users/goliathus/.node-gyp/5.1.1/include/node/v8.h:4674:3: note: 'New' declared here
static Local<Signature> New(
^
In file included from ../binding.cpp:1:
../../nan/nan.h:271:3: error: redefinition of 'NanNew'
什么错误说和如何解决它?
这不起作用,输出与上面相同。这是错误的要点,https://gist.github.com/alphapilgrim/3b4c3255a8b693c7e5814f28ab5dd7bf。 – alphapilgrim