简体   繁体   English

松露初始化失败

[英]Truffle init failing

I'm trying to run truffle in a linux virtual machine with a windows 10 host.我正在尝试在具有 windows 10 主机的 linux 虚拟机中运行松露。 When I run truffle init this is the error that I get...当我运行truffle init时,这是我得到的错误......

DownloadingError: write EPROTO 140718189083520:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:827:

at _errnoException (util.js:1022:11)
at WriteWrap.afterWrite (net.js:880:14)

I'm not really sure what's causing the error or how to solve it.我不确定是什么导致了错误或如何解决它。 Any advice would be appreciated.任何意见,将不胜感激。 Thanks in advance!提前致谢!

This seems to be an issue with proxies.这似乎是代理的问题。

I suggest you update your node environment to at least v10.16.0.我建议您将节点环境至少更新到 v10.16.0。

If that doesn't work try the answers to this other post.如果这不起作用,请尝试其他帖子的答案。

npm gets stuck on fetchMetadata -> network npm 卡在 fetchMetadata -> 网络上

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM