流星应用无法找到二进制光纤;然而NPM建立了另一种]]

问题描述 投票:1回答:1

我正在将Meteor包部署到与开发类似的Ubuntu 18.04系统。运行流星(启动应用程序)后,出现以下错误:

## There is an issue with `node-fibers` ##
`/opt/docgen/bundle/programs/server/node_modules/fibers/bin/linux-x64-57-glibc/fibers.node` is missing.
Try running this to fix the issue: /usr/bin/node /opt/docgen/bundle/programs/server/node_modules/fibers/build
Error: Cannot find module '/opt/docgen/bundle/programs/server/node_modules/fibers/bin/linux-x64-57-glibc/fibers'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)

但是,npm install(并调用节点build.js)为光纤构建了一个不同名称的二进制文件:

ubuntu@ip-xxx-xx-xxx-xx:/opt/docgen/bundle/programs/server/node_modules/fibers$ node build.js 
`linux-x64-72-glibc` exists; testing
Binary is fine; exiting

开发和生产中的节点版本:

ubuntu@ip-xxx-xx-xxx-3xxx-xx-xxx-xx:/opt/docgen/bundle/programs/server/node_modules/fibers$ node -v
v12.16.1

npm版本:

ubuntu@ip-xxx-xx-xxx-xx:/opt/docgen/bundle/programs/server/node_modules/fibers$ npm -v
6.14.5
    

我正在将Meteor包部署到与开发类似的Ubuntu 18.04系统。运行流星(启动应用程序)后,出现以下错误:## node-fibers有问题## ...

gcc npm meteor fibers
1个回答
0
投票

文件名二进制文件中的数字是ABI(应用程序二进制接口)版本,又名NODE_MODULE_VERSION上的this table

© www.soinside.com 2019 - 2024. All rights reserved.