简体   繁体   中英

Truffle init failing

I'm trying to run truffle in a linux virtual machine with a windows 10 host. When I run truffle init this is the error that I get...

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.

If that doesn't work try the answers to this other post.

npm gets stuck on fetchMetadata -> network

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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