This should be a temporary error. The official will fix it later
The temporary solution is to modify the Vue version and reinstall I
The specific steps are as follows
1 delete node_ Modules folder and package-lock.json
rm .\package-lock.json
rm .\node_modules
2. Modify package.json
"dependencies": {
"amis": "^1.2.3-beta.4",
"element-plus": "^1.0.2-beta.70",
"vue": "^3.2.4" <----Change the version number to 3.2.2 or higher in this line
},
3 reinstall I, but add — force to force installation, otherwise an error will be reported
npm i --force
Try it. OK, you won’t report mistakes
Similar Posts:
- [Solved] NPM installation Vue scaffold error: npm ERR! Unexpected end of JSON input while parsing near…
- npm install: npm ERR! errno -4048, Error: EPERM: operation not permitted[How to Solve]
- jenkins+sonar-scanner Scan Error: Failed to find ‘typescript’ module.Please check, NODE_PATH contains location of global ‘typescript’ or install locally in your project
- [antd vue Update] Some Components Error: Error in data(): “TypeError” & Cannot read properties of undefined (reading ‘pageSize’)
- Project startup error: related to modules and node versions
- [Solved] ***\npm\node modules\npm\node modul es losenv losenv. js :49: 13
- Solution to the failure of node rdkafka in docker build
- [Solved] Docker npm install: npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY.. reason: unable to get local issuer certificate
- Cannot read property ‘match’ of undefined
- [Solved] NPM i error: Legacy peer DEPs (Version Problem)