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
-
- 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 ~
Read More:
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- NPM Install Error: npm ERR! ERESOLVE unable to resolve dependency tree
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- npm install npm ERR code ERESOLVE [How to Solve]
- Vue Error: command failed: npm install –loglevel error –registry=https://registry.npm.taobao.org
- Vue-element-admin Use npm install Error: npm ERR! Error while executing:
- Puppeteer Error: Chromium revision is not downloaded. Run “npm install“ or “yarn install“
- Analysis of npm error ENOTFOUND npm ERR! network request to https://npm.***.com/*** failed and the role of the .npmrc file
- [Solved] react Error: Can‘t perform a React state update on an unmounted component
- [Solved] npm install sass@~1.32 sass-loader deepmerge -D Install Error
- [Solved] NPM install error: Maximum call stack size exceeded
- [Solved] NPM Install Error: EPERM: operation not permitted, mkdir xxx
- [Solved] Mac Notebook M1 Chip Install Hashlips library npm error
- [Solved] This usually happens because your environment has changed since running `npm install`
- NPM install Error cb.apply is not a function
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- [Solved] ERROR command failed: npm install –loglevel error –legacy-peer-deps
- [Solved] react18 swiper Error: Cannot read properties of undefined (reading ‘wrapperClass’)
- Taro Use React Hooks Error: TypeError: Object(…) is not a function
- Attempted import error: ‘mobx-react‘ does not contain a default export (imported as ‘observer‘).