Open yjshi2015 opened 1 year ago
Hey @yjshi2015, what is the response you get from the request for the json file?
Are you running this is the VSCode terminal? Can you try in a a normal terminal window and see what happens?
I'm not sure what the issue is offhand (I have no problem unboxing on my computer), but it is likely that it has something to do with you being in China. Sometimes users have problems accessing GitHub stuff from there. You don't happen to have a VPN that you could try this with, do you?
@yjshi2015 Hey,你解决了吗?我也遇到同样的问题
truffle unbox metacoin
failedwhen i create new project by using
truffle unbox metacoin
, but it does not work, it looks like network problem. so i tried do something below: 1、config vscode's proxy. does not work 2、downgrade node version from v19 to v18. does not work 3、add151.101.56.133 raw.githubusercontent.com
in host file (i am in china). does not work 4、runcurl https://raw.githubusercontent.com/xxx/truffle-box.json
, i got the response, network maybe is ok, so why unbox failed???Steps to Reproduce
run
truffle unbox metacoin
in vscode's terminal, then it show the following exceptionEnvironment
truffle version
): v5.11.2node --version
): v18.17.0npm --version
): v8.19.4