slidefizz
slidefizz

Reputation: 267

Ionic2 first project error

I'm trying to follow these instruction : http://ionicframework.com/docs/v2/getting-started/installation/

But I have error with this line : 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

Does anyone can help me ?

Thanks by advance !

Upvotes: 0

Views: 424

Answers (1)

sebaferreras
sebaferreras

Reputation: 44669

Just like @AnatolyS says, that seems to be a network problem. Once you download it, (and unzip it) open a console at the same level you see a file called package.json and run npm install. That will install all the required dependencies for the project.

Once that is done, run ionic serve and the application should be opened in the browser.

Upvotes: 1

Related Questions