這是為何啊失敗了
npm ERR! path C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\[email protected]@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\[email protected]@apollo-codegen-typescript\node_modules\@babel\generator\node_modules\.bin\jsesc.ps1: ../../../../[email protected]@jsesc/bin/jsesc symlink target is not controlled by npm C:\Users\Public_Account\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\[email protected]@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\[email protected]@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
嘗試運行npm update -g npm然后再次運行npm i。
如果這不起作用,npm cache clean可能有幫助。
如果這不起作用,您應該考慮刪除應用程序中的node_modules文件夾并再次運行npm install