Tag Archives: NPM install -g create-react-app

NPM install -g create-react-app [How to Solve]

When the Mac computer is changed and the react scaffold is downloaded, an error is reported. The error is as follows

the solution is divided into the following steps

    1. sudo NPM uninstall – G create react app// configure the image NPM config set registry before deleting it https://registry.npm.taobao.org //Switch to Taobao image and install sudo cnpm install – G create react app.// download

Then I found it successful ~