我有一个Angular项目,我将为客户端做一些更改,当我尝试运行npm install时出现此错误:
npm ERR! path D:\myClientProject\node_modules\.staging\material-design-icons-f132a428\av\1x_web\ic_music_video_white_36dp.png
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'D:\myClientProject\node_modules\.staging\material-design-icons-f132a428\av\1x_web\ic_music_video_white_36dp.png'
npm ERR! { [Error: EPERM: operation not permitted, unlink 'D:\myClientProject\node_modules\.staging\material-design-icons-f132a428\av\1x_web\ic_music_video_white_36dp.png']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'D:\myClientProject\node_modules\.staging\material-design-icons-f132a428\av\1x_web\ic_music_video_white_36dp.png'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'D:\\myClientProject\\node_modules\\.staging\\material-design-icons-f132a428\\av\\1x_web\\ic_music_video_white_36dp.png' },
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, unlink \'D:\\myClientProject\\node_modules\\.staging\\material-design-icons-f132a428\\av\\1x_web\\ic_music_video_white_36dp.png\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'D:\\myClientProject\\node_modules\\.staging\\material-design-icons-f132a428\\av\\1x_web\\ic_music_video_white_36dp.png',
npm ERR! parent: 'emaua-front' }
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 (though this is not recommended).
我已经尝试了一些方法,但是没有成功:
节点版本:10.15.3
NPM版本:6.4.1
有人遇到这个错误吗?
答案 0 :(得分:0)
尝试从2019年4月18日开始安装最新的 npm 版本 v6.9.0 。
SELECT *
FROM [DB].[dbo].[table]
WHERE Date_Time_In between '1/1/2019 01:00:00 PM' and '4/1/2019 01:00:00 PM'
这已经多次解决了我的问题。