我仍然用的16版本,然后在FRONT中安装NPM INSTALL出错,把PACKAGE.JSON中的plugin-typescript删除后可安装上,然后执行则出错
d:\2.png
d:\3.png
1. npm install出错如下
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: spread-js@undefined
npm ERR! Found: typescript@4.9.5
npm ERR! node_modules/typescript
npm ERR! typescript@"^4.1.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer typescript@"^2.4.0" from plugin-typescript@8.0.0
npm ERR! node_modules/plugin-typescript
npm ERR! plugin-typescript@"^8.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
2.删除package.json中plugin-typescript可安装
3.执行server,启动客户端后出错(索引):62
GET http://127.0.0.1:8080/node_modules/plugin-typescript/package.json
|