node -v
v4.4.7
npm -v
v2.15.8
node-gyp -v
v3.4.0
我正在尝试运行使用libxmljs
模块的节点应用,并且我收到了这个奇怪的错误:
libxmljs/node_modules/bindings/bindings.js:83
throw e
^
Error: /link/node_modules/libxmljs/build/Release/xmljs.node: undefined symbol: _ZN2v82V837AdjustAmountOfExternalAllocatedMemoryEl
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at bindings (/link/node_modules/libxmljs/node_modules/bindings/bindings.js:76:44)
at Object.<anonymous> (/link/node_modules/libxmljs/lib/bindings.js:1:99)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
我尝试npm update
并再次安装libxmljs
。不行。
有什么提示吗?