Ubuntu 16.04无法运行npm run / install / rebuild

时间:2019-10-21 03:05:33

标签: node.js express npm npm-install npm-scripts

在npm install重建或npm install 1之后会发生什么 ,然后显示错误2

这是我在运行npm run [我的项目]时遇到的错误

Error: uncaughtException: The gRPC binary module was not installed. This may be fixed by running "npm rebuild"
Original error: Cannot find module '/home/itsaraphap/Documents/blockchainSampran2/api-sampran/node_modules/fabric-network/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node'
Require stack:

1 个答案:

答案 0 :(得分:1)

安装此

npm install grpc@1.20.2