我曾尝试安装node_xslt但无法解决问题,这就是我所做的全部:更新homebrew,node.js,npm,删除.node-gyp,...
请帮帮我......
提前谢谢。
npm install node_xslt
> node_xslt@0.1.9 preinstall /Users/David/node_modules/.staging/node_xslt-4c6485e9
> node-gyp rebuild
CXX(target) Release/obj.target/node_xslt/node_xslt.o
../node_xslt.cc:18:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope handlescope;
^
/Users/David/.node-gyp/6.9.2/include/node/v8.h:915:13: note: declared protected here
V8_INLINE HandleScope() {}
^
../node_xslt.cc:19:30: error: member reference type 'Persistent<v8::Value>' is not a pointer; did you mean to use '.'?
Local<Object> obj = value->ToObject();
~~~~~^~
.
../node_xslt.cc:19:32: error: no member named 'ToObject' in 'v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >'
Local<Object> obj = value->ToObject();
~~~~~ ^
../node_xslt.cc:26:17: error: calling a protected constructor of class 'v8::HandleScope'
HandleScope handlescope;
^
/Users/David/.node-gyp/6.9.2/include/node/v8.h:915:13: note: declared protected here