2018-12-28 truffle 代理下错误

参考《智能合约调试指南》使用truffle的时候

如果电脑需要走代理,那么truffle init出现如下错误:

D:\gopath\simple-storage>truffle init

Downloading...

Error: Truffle Box at URL https://github.com/truffle-box/bare-box.git doesn't exist. If you believe this is an error, please contact Truffle support.

解决方法可以是直接git代码取代truffle init命令

git clone https://github.com/truffle-box/bare-box

后续的命令需要先执行:

cd bare-box

后继续照旧

你可能感兴趣的:(2018-12-28 truffle 代理下错误)