我正在尝试遵循这些说明:http://ionicframework.com/docs/v2/getting-started/installation/
但是我对这一行有错误:ionic start cutePuppyPics --v2
Creating Ionic app in folder C:\dev\debug npm\cutePuppyPics based on tabs projec
t
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Error with start Error: read ECONNRESET
at exports._errnoException (util.js:870:11)
at TLSWrap.onread (net.js:552:26)
Error Initializing app: Error: read ECONNRESET
Error: read ECONNRESET
at exports._errnoException (util.js:870:11)
at TLSWrap.onread (net.js:552:26)
Caught exception:
Error: read ECONNRESET
at exports._errnoException (util.js:870:11)
at TLSWrap.onread (net.js:552:26)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues有人能帮我吗?
提前谢谢!
发布于 2016-06-21 22:27:53
就像@AnatolyS所说的,这似乎是一个网络问题。下载后,(并解压缩)打开与您看到的名为package.json的文件相同级别的控制台,然后运行npm install。这将安装项目所需的所有依赖项。
完成后,运行ionic serve,应用程序应该会在浏览器中打开。
https://stackoverflow.com/questions/37946384
复制相似问题