vue安装依赖报没有权限,尝试用管理员权限打开cmd,依然存在此问题,请问是怎么回事啊?
环境版本如下:
E:\goodstudy\JEECMSx1.2\JEECMSx1.2.0_vue_src>node -v
v8.11.4
E:\goodstudy\JEECMSx1.2\JEECMSx1.2.0_vue_src>npm -v
6.14.2
PS E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src> npm install
npm WARN tarball tarball data for lodash@4.17.15 (sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\remove-bom-buffer-de7c2fd4\package.json'
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\remove-bom-buffer-de7c2fd4\README.md'npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\remove-bom-buffer-de7c2fd4\LICENSE'
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\remove-bom-buffer-de7c2fd4\index.js'
npm WARN tarball tarball data for request-promise-native@1.0.7 (sha1-pJhopiS96lBp8SUdCoNuDYmqLFk=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for @babel/types@7.0.0-beta.35 (sha1-z5M6mpo4SEynJLM1uI2Dcm1auWA=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for get-stream@5.1.0 (sha1-ASA83JJZf5uQkGfD5lbMH008Tck=) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\argparse-d470a8cf\lib\action\append\constant.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\argparse-d470a8cf\lib\action\count.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\argparse-d470a8cf\lib\action\help.js'npm WARN tar ENOENT: no such file or directory, open 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\argparse-d470a8cf\lib\action\store.js'
npm WARN The package element-theme-chalk is included as both a dev and production dependency.
npm ERR! code EPERM
npm ERR! syscall unlink
npm ERR! path E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\lodash-61cf19b2\wrapperLodash.js
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, unlink 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\lodash-61cf19b2\wrapperLodash.js'
npm ERR! { Error: EPERM: operation not permitted, unlink 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\lodash-61cf19b2\wrapperLodash.js'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'E:\IdeaProjects\jeecg-boot-master\JEECMSx1.2.0_vue_src\node_modules\.staging\lodash-61cf19b2\wrapperLodash.js'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'E:\\IdeaProjects\\jeecg-boot-master\\JEECMSx1.2.0_vue_src\\node_modules\\.staging\\lodash-61cf19b2\\wrapperLodash.js' },
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'E:\\IdeaProjects\\jeecg-boot-master\\JEECMSx1.2.0_vue_src\\node_modules\\.staging\\lodash-61cf19b2\\wrapperLodash.js\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'E:\\IdeaProjects\\jeecg-boot-master\\JEECMSx1.2.0_vue_src\\node_modules\\.staging\\lodash-61cf19b2\\wrapperLodash.js',
npm ERR! parent: '@babel/helper-define-map' }
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. |
|