maichong / labrador

微信小程序模块化开发框架
MIT License
1.69k stars 240 forks source link

labrador create的时候提示连接失败,求解。 #57

Open niuyi opened 7 years ago

niuyi commented 7 years ago

labrador create的时候提示网络连接错误 https://registry.yarnpkg.com/babel-plugin-transform-export-extensions: connect ETIMEDOUT 104.16.59.173:443",请问下这个是需要设置代理吗? 谢谢指教

======================= 全部的错误信息 =============================== D:\Code\test> labrador create demo 下载初始项目... 下载完毕 安装npm依赖 yarn install v0.21.3 info No lockfile found. warning demo@1.0.0: No license field [1/4] Resolving packages... warning There appears to be trouble with your network connection. Retrying... error An unexpected error occurred: "https://registry.yarnpkg.com/babel-plugin-transform-export-extensions: connect ETIM EDOUT 104.16.59.173:443". info If you think this is a bug, please open a bug report with the information provided in "D:\Code\test\demo\yarn-e rror.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. child_process.js:532 throw err;