简体   繁体   English

运行松露init命令时出现错误

[英]Getting an error while running truffle init command

I've installed truffle successfully but when I run truffle init I always get the following error: 我已经成功安装truffle但是当我运行truffle init ,总是会出现以下错误:

Downloading... Error: read ETIMEDOUT at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)

Node, npm and system version: 节点,npm和系统版本:

node -v
  v10.10.0

npm -v
  6.4.1

truffle version
  Truffle v4.1.14 (core: 4.1.14)
  Solidity v0.4.24 (solc-js)

ProductName:    Mac OS X
ProductVersion: 10.13.6

Any ideas how to resolve this issue? 任何想法如何解决这个问题?

因此,我提出的解决方案是将node降级到v8.12.0并且可以正常工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 macOS 上运行 mediapipe 时出错; 构建 C++ 命令行示例应用程序 - Getting error while running mediapipe on macOS; Building C++ command-line example apps Bower初始化命令错误 - Bower init command error H2OServerError:服务器进程在运行 h2o.init() 时在 Mac 上的 Python 中以错误代码 1 终止 - H2OServerError: Server process terminated with error code 1 in Python on Mac while running h2o.init() 在mac中运行CGAL代码时出现编译错误 - Getting compilation error while running CGAL code in mac 出现错误 npm ERR! 运行 npm 时安装代码 EUNSUPPORTEDPROTOCOL - Getting error npm ERR! code EUNSUPPORTEDPROTOCOL while running npm install 执行 react-native-init 命令时出错 - Error executing the react-native-init command 运行私有docker映像时出错:standard_init_linux.go:207:exec用户进程导致“ exec格式错误” - Error while running private docker image : standard_init_linux.go:207: exec user process caused “exec format error” 在mac os x上运行cf命令时获取权限被拒绝错误 - Getting permission denied error when running cf command on mac os x 在我的 Mac 上安装 truffle 后,我无法在我的终端中运行 truffle 命令,结果总是 zsh: command not found: truffle - I am unable to run truffle commands in my terminal after installing truffle on my Mac, the result is always zsh: command not found: truffle 运行“ $ rails server”命令osx maverick后出现此错误 - I am getting this error after running “$ rails server” command osx maverick
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM