尝试运行Node App时出现错误

时间:2019-07-10 04:52:30

标签: node.js

我试图从服务器运行我的节点应用程序,我安装了nodejs,并在终端中写道:节点server.js(server.js是我的应用程序) 然后立即出现错误,我正在互联网上搜索,但是我找不到任何帮助,我已经有将近1周的时间寻求帮助:(

Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/usr1/public_html/trackers/astorNode/node_modules/scrypt/build/Release/scrypt.node)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/usr1/public_html/trackers/astorNode/node_modules/scrypt/index.js:3:20)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

尝试安装libgcc并检查LD_LIBRARY_PATH