0
votes

When I entered npm install so it take almost more than half an hour and shows me these errors. Please provide me some solutions for it.

npm ERR! path E:\React Native\First Practice\node_modules.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm ERR! Error: EPERM: operation not permitted, unlink 'E:\React Native\First Practice\node_modules.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png' npm ERR! [OperationalError: EPERM: operation not permitted, unlink 'E:\React Native\First Practice\node_modules.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png'] { npm ERR! cause: [Error: EPERM: operation not permitted, unlink 'E:\React Native\First Practice\node_modules.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR!
syscall: 'unlink', npm ERR! path: 'E:\React Native\First Practice\node_modules\.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png' npm ERR! }, npm ERR! stack: "Error: EPERM: operation not permitted, unlink 'E:\React Native\First Practice\node_modules\.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png'", npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', npm ERR! path: 'E:\React Native\First Practice\node_modules\.staging\react-native-3ae3ca51\RNTester\RNTesterIntegrationTests\ReferenceImages\RNTester-js-RNTesterApp.ios\testScrollViewExample_1-iOS10_tvOS.png' npm ERR! } 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 ERR! A complete log of this run can be found in: npm ERR!
C:\Users\Dell\AppData\Roaming\npm-cache_logs\2019-08-31T17_33_47_718Z-debug.log

1
Why do you execute the command?hong developer
what is your npm version? npm --versionmatcheek
@matcheek my version is v12.9.1ZaIn KhAn
@RohitKashyap it's not duplicateZaIn KhAn

1 Answers

0
votes

Issue has been solved. The issue is I haven't installed git that's why these errors born.