Vue CLI v5.0.8
? Please pick a preset: Default ([Vue 2] babel, eslint)
Vue CLI v5.0.8
✨ Creating project in F:\aaa\eee\aaa.
🗃 Initializing git repository...
⚙️ Installing CLI plugins. This might take a while...
npm error code EPERM
npm error syscall mkdir
npm error path D:\nodejs\node_cache\_cacache
npm error errno -4048
npm error Error: EPERM: operation not permitted, mkdir 'D:\nodejs\node_cache\_cacache'
npm error at async mkdir (node:internal/fs/promises:858:10)
npm error at async Object.insert (D:\nodejs\node_modules\npm\node_modules\cacache\lib\entry-index.js:122:5)
npm error at async CacheEntry.store (D:\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\cache\entry.js:308:7)
npm error at async fetch (D:\nodejs\node_modules\npm\node_modules\make-fetch-happen\lib\fetch.js:98:7)
npm error at async RegistryFetcher.packument (D:\nodejs\node_modules\npm\node_modules\pacote\lib\registry.js:91:19)
npm error at async RegistryFetcher.manifest (D:\nodejs\node_modules\npm\node_modules\pacote\lib\registry.js:129:23)
npm error at async #nodeFromEdge (D:\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1055:19)
npm error at async #buildDepStep (D:\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:923:11)
npm error at async Arborist.buildIdealTree (D:\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:203:7)
npm error at async Promise.all (index 1) {
npm error errno: -4048,
npm error code: 'EPERM',
npm error syscall: 'mkdir',
npm error path: 'D:\\nodejs\\node_cache\\_cacache',
npm error requiredBy: '.'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It's possible that the file was already in use (by a text editor or antivirus),
npm error or that you lack permissions to access it.
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
npm error Log files were not written due to an error writing to the directory: D:\nodejs\node_cache\_logs
npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
ERROR Error: command failed: npm install --loglevel error --legacy-peer-deps
Error: command failed: npm install --loglevel error --legacy-peer-deps
at ChildProcess.<anonymous> (D:\nodejs\node_global\node_modules\@vue\cli\lib\util\executeCommand.js:138:16)
at ChildProcess.emit (node:events:519:28)
at cp.emit (D:\nodejs\node_global\node_modules\@vue\cli\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
PS F:\aaa\eee>
我全复制下来了,不知道出什么问题,找不到办法,要吐了