Error: EPERM: operation not permitted
moslemezzati opened this issue · comments
Kourosh commented
I've tried to install node-sass-chokidar but I have got this error
$ npm install --save node-sass-chokidar
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ra-core@2.2.0 requires a peer of react@~16.0.0 || ~16.1.0 || ~16.2.0 || ~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN ra-core@2.2.0 requires a peer of react-dom@~16.0.0 || ~16.1.0 || ~16.2.0 || ~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN ra-ui-materialui@2.2.0 requires a peer of react@~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN ra-ui-materialui@2.2.0 requires a peer of react-dom@~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-admin@2.2.0 requires a peer of react@~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-admin@2.2.0 requires a peer of react-dom@~16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN redux-devtools@3.4.1 requires a peer of redux@^3.5.2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, rename 'F:\dev\xite\node_modules\.staging\fsevents-50366ece\node_modules\nopt' -> 'F:\dev\xite\node_modules\.staging\nopt-fbf43ff9'
npm ERR! path F:\dev\xite\node_modules\async-foreach
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'F:\dev\xite\node_modules\async-foreach' -> 'F:\dev\xite\node_modules\.async-foreach.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Novin Tak\AppData\Roaming\npm-cache\_logs\2018-08-13T03_24_07_805Z-debug.log
I've tried npm audit fix
and also npm cache clear --force
but the error still happen
how should I install it.
eadjeidjan commented
npm cache clear --force