I built the ionic environment, nodejs, Cordova,android environment and so on according to the online tutorials.
In this step of installing the ionic, it cannot be carried out. It feels like it’s the internet.
Someone told me that installing this depends on personality.
I’ve tried the internet at home and at work, but it didn’t work.
npm install -g ionic
Is there any good solution?
Try replacing the source with a domestic mirror image.
$ npm install -g ionic --registry=https://registry.npm.taobao.org
Hope to help: ~)