Open maks187 opened 6 years ago
Did you perhaps start installing, figure it had crashed because it takes so long and give up? Because that process could have hung and kept a hold on the files it was unpacking...
I have the same problem, I was using travis Windows ci. Here is the detail log. https://api.travis-ci.org/v3/job/462650268/log.txt
npm verb unlock done using C:\Users\travis\AppData\Roaming\npm-cache\_locks\staging-c01266c18509ecf3.lock for C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging
npm timing stage:rollbackFailedOptional Completed in 3ms
npm timing stage:runTopLevelLifecycles Completed in 988284ms
npm WARN react-app-rewired@1.6.2 requires a peer of react-scripts@^1.0.14 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: electron-winstaller@2.7.0 (node_modules\electron-winstaller):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, unlink 'C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\electron-winstaller-741c24af\vendor\SyncReleases.exe'
npm verb optional SKIPPING OPTIONAL DEPENDENCY:
npm verb optional The operation was rejected by your operating system.
npm verb optional SKIPPING OPTIONAL DEPENDENCY: It's possible that the file was already in use (by a text editor or antivirus),
npm verb optional SKIPPING OPTIONAL DEPENDENCY: or that you lack permissions to access it.
npm verb optional SKIPPING OPTIONAL DEPENDENCY:
npm verb optional SKIPPING OPTIONAL DEPENDENCY: If you believe this might be a permissions issue, please double-check the
npm verb optional SKIPPING OPTIONAL DEPENDENCY: permissions of the file and its containing directories, or try running
npm verb optional SKIPPING OPTIONAL DEPENDENCY: the command again as root/Administrator (though this is not recommended).
npm verb stack Error: EPERM: operation not permitted, unlink 'C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\material-design-icons-66ac30cc\device\drawable-mdpi\ic_network_wifi_black_36dp.png'
npm verb cwd C:\Users\travis\build\liudonghua123\react-material-electron
npm verb Windows_NT 10.0.17134
npm verb argv "C:\\ProgramData\\nvs\\node\\10.14.1\\x64\\node.exe" "C:\\ProgramData\\nvs\\node\\10.14.1\\x64\\node_modules\\npm\\bin\\npm-cli.js" "i" "-force" "--verbose"
npm verb node v10.14.1
npm verb npm v6.4.1
npm ERR! path C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\material-design-icons-66ac30cc\device\drawable-mdpi\ic_network_wifi_black_36dp.png
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\material-design-icons-66ac30cc\device\drawable-mdpi\ic_network_wifi_black_36dp.png'
npm ERR! { [Error: EPERM: operation not permitted, unlink 'C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\material-design-icons-66ac30cc\device\drawable-mdpi\ic_network_wifi_black_36dp.png']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\travis\build\liudonghua123\react-material-electron\node_modules\.staging\material-design-icons-66ac30cc\device\drawable-mdpi\ic_network_wifi_black_36dp.png'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'C:\\Users\\travis\\build\\liudonghua123\\react-material-electron\\node_modules\\.staging\\material-design-icons-66ac30cc\\device\\drawable-mdpi\\ic_network_wifi_black_36dp.png' },
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, unlink \'C:\\Users\\travis\\build\\liudonghua123\\react-material-electron\\node_modules\\.staging\\material-design-icons-66ac30cc\\device\\drawable-mdpi\\ic_network_wifi_black_36dp.png\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR! 'C:\\Users\\travis\\build\\liudonghua123\\react-material-electron\\node_modules\\.staging\\material-design-icons-66ac30cc\\device\\drawable-mdpi\\ic_network_wifi_black_36dp.png',
npm ERR! parent: 'react-material-electron' }
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).
npm verb exit [ -4048, true ]
I have the same problem.
Hey @ievgennaida @liudonghua123 @maks187 @thw0rted
This project is on low maintenance and out of date for a while.
I've forked it and simplified things, please give it a try: material-design-icons-iconfont
@jossef Thanks, it will try it 😃
hi, sometimes npm has difficulties to delete previously installed icons:
the problem is, even I am not able to delete it by hand and also delete it with admin rights is not possible. this problem occurs only in your lib, why? I have to logoff and login again to able to delete it.. OS: Windows 10