DS Milestone
DS Milestone

Reputation: 9

ionic cannot create project

I keep getting this ERROR while creating new ionic project.

There was no issue in my internet connection!

ionic start test1 blank
    $ ionic start test1 blank
    √ Creating directory .\test1 - done!
    [INFO] Fetching app base
    (https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
    × Downloading - failed!
    Error: self signed certificate in certificate chain

Any help would be appreciated.

Upvotes: 0

Views: 222

Answers (2)

Swapnil Patwa
Swapnil Patwa

Reputation: 4099

Run command

npm config set strict-ssl false 

before

ionic start

Upvotes: 0

enRaiser
enRaiser

Reputation: 2636

try this

git config --global http.sslVerify false

or this

env export NODE_TLS_REJECT_UNAUTHORIZED=0 

Upvotes: 1

Related Questions