【问题标题】:Trouble while installing truffle-contract module安装 truffle-contract 模块时出现问题
【发布时间】:2017-12-26 05:15:57
【问题描述】:

当我运行命令 sudo npm install truffle-contract 时,它给了我这个错误:

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/debris/bignumber.js.git /home/ubuntu/.npm/_cacache/tmp/git-clone-777489e7
npm ERR! /home/ubuntu/.npm/_cacache/tmp/git-clone-777489e7/.git: Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2017-12-26T05_11_27_119Z-debug.log

【问题讨论】:

  • @askshat 你有想过这个吗?

标签: truffle


【解决方案1】:

有同样的问题。如果您从安装命令中删除 sudo,则可以使用。

【讨论】:

    猜你喜欢
    • 2011-08-16
    • 2016-11-05
    • 2020-10-14
    • 2023-03-22
    • 1970-01-01
    • 2013-05-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多