這是為何啊失敗了
npm ERR! path C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\_apollo-codegen-typescript@0.39.3@apollo-codegen-typescript\node_modules\@babel\generator\node_modules\.bin\jsesc.ps1
npm ERR! Refusing to delete C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\_apollo-codegen-typescript@0.39.3@apollo-codegen-typescript\node_modules\@babel\generator\node_modules\.bin\jsesc.ps1: ../../../../_jsesc@2.5.2@jsesc/bin/jsesc symlink target is not controlled by npm C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\_apollo-codegen-typescript@0.39.3@apollo-codegen-typescript\node_modules\@babel\generator\node_modules\jsesc
npm ERR! File exists: C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\_apollo-codegen-typescript@0.39.3@apollo-codegen-typescript\node_modules\@babel\generator\node_modules\.bin\jsesc.ps1
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
npm ERR! A complete log of this run can be found in:
npm ERR!? ? ?C:\Users\Public_Account\AppData\Roaming\npm-cache\_logs\2021-03-17T08_09_41_176Z-debug.log
C:\Users\Public_Account>
2021-04-13
嘗試運(yùn)行npm update -g npm然后再次運(yùn)行npm i。
如果這不起作用,npm cache clean可能有幫助。
如果這不起作用,您應(yīng)該考慮刪除應(yīng)用程序中的node_modules文件夾并再次運(yùn)行npm install