首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在本地部署区块链技术时出错

在本地部署区块链技术时出错
EN

Stack Overflow用户
提问于 2017-01-27 13:53:47
回答 1查看 84关注 0票数 1

当我尝试在本地部署我的nodejs应用程序(区块链)时,我遇到了以下错误。

代码语言:javascript
复制
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--quiet"
npm ERR! node v4.7.2
npm ERR! npm  v4.1.1
npm ERR! code ELIFECYCLE
npm ERR! hashtable@2.0.2 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the hashtable@2.0.2 install script 'node-gyp configure build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the hashtable package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs hashtable
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls hashtable
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/src/app/npm-debug.log
ERROR: Service 'asset-diamond-demo' failed to build: The command '/bin/sh -c npm install --quiet' returned a non-zero code: 1

但当我在家里的个人笔记本电脑上部署它时,它被部署了。似乎不是在办公室建的。

有人能给出什么解决方案吗?

EN

回答 1

Stack Overflow用户

发布于 2017-01-27 15:15:55

安装nvm并使用它来确保您有一个干净的、最新的工作节点设置。尝试安装Node 7。使用nvm代替4。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41887718

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档