npm ERR! code EPERM
npm ERR! syscall unlink
npm ERR! path C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\vue-cce0b41c\dist\vue.esm.js
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\vue-cce0b41c\dist\vue.esm.js'
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\vue-cce0b41c\dist\vue.esm.js'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\vue-cce0b41c\dist\vue.esm.js'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules\.staging\vue-cce0b41c\dist\vue.esm.js' },
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules\.staging\vue-cce0b41c\dist\vue.esm.js'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules\.staging\vue-cce0b41c\dist\vue.esm.js',
npm ERR! parent: '@vue/cli' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\apply-extends.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\argsert.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\command.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\common-types.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\completion-templates.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\completion.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\is-promise.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\levenshtein.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\middleware.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\obj-filter.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\parse-command.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\process-argv.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\usage.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\validation.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\yargs.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\yargs-1541a9eb\build\lib\yerror.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\capitalizeFirstLetter.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\capitalizeFirstLetter.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\LocalState.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\LocalState.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\data\mutations.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\data\mutations.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\networkStatus.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\networkStatus.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\Observable.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\Observable.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\ObservableQuery.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\ObservableQuery.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\observables.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\observables.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\observableToPromise.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\util\observableToPromise.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\data\queries.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\data\queries.js.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\QueryManager.d.ts.map'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\liuhandong\AppData\Roaming\npm\node_modules.staging\apollo-client-87bc6f4b\core\QueryManager.js.map'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\liuhandong\AppData\Roaming\npm-cache_logs\2021-01-13T02_24_11_904Z-debug.log
部分包文件没download下来吧. 删除了重试. 如果网络情况不太好就用taobao的npm源.
用cnpm进行安装,可以看我博客https://www.cnblogs.com/pythonywy/p/11430948.html
换个阿里的npm库