camaro在Node中抛出错误

时间:2018-06-17 20:11:46

标签: node.js ubuntu npm npm-install node-modules

在ubuntu 12.04中安装了camaro

npm install camaro 

此行引发错误:

const transform = require('camaro')

在运行应用程序时在控制台中出现以下错误。

module.js:670
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /data/workspace/project_a/node_modules/camaro/lib/binding/camaro.node)
    at Object.Module._extensions..node (module.js:670:18)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/data/workspace/project_a/node_modules/camaro/index.js:4:16)
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)

0 个答案:

没有答案