I have no idea what is happening here. Hoping someone can help me.
This works great in my mac. But same process in Windows and npm install crashes. This is what I get.
EDIT
I've tried everything I've seen in SO so far and every link Google search produced. I tried the following as suggested here:
rm -rf node_modules
npm install
Didn't work
Ran it as admin,
tried npm install -g
re-started xampp server
turned off Windows defender
checked the PATH for C:Program Files
odejs
Short of throwing this POS Windows threw a window, pun intended, I've done everything. Hail Apple!
warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_moduleschokidar
ode_modulesfsevents):
warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
warn fuse@1.4.4 No description
verbose If you need help, you may report this error at:
verbose <https://github.com/npm/npm/issues>
warn fuse@1.4.4 No repository field.
verbose If you need help, you may report this error at:
verbose <https://github.com/npm/npm/issues>
warn fuse@1.4.4 No license field.
verbose If you need help, you may report this error at:
verbose <https://github.com/npm/npm/issues>
verbose stack Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
verbose stack at destStatted (C:UsersLuisAppDataRoaming
pm
ode_modules
pmlibinstallactionfinalize.js:25:7)
verbose stack at C:UsersLuisAppDataRoaming
pm
ode_modules
pm
ode_modulesgraceful-fspolyfills.js:276:29
verbose stack at FSReqWrap.oncomplete (fs.js:123:15)
verbose stack
verbose stack Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
verbose stack at Error (native)
verbose cwd C:xampphtdocsScalaCM
error Windows_NT 10.0.14393
error argv "C:\Program Files\nodejs\node.exe" "C:\Users\Luis\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
error node v6.9.1
error npm v4.0.2
error path C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290
error code EPERM
error errno -4048
error syscall rename
error Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
error at destStatted (C:UsersLuisAppDataRoaming
pm
ode_modules
pmlibinstallactionfinalize.js:25:7)
error at C:UsersLuisAppDataRoaming
pm
ode_modules
pm
ode_modulesgraceful-fspolyfills.js:276:29
error at FSReqWrap.oncomplete (fs.js:123:15)
error
error Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
error at Error (native)
error { Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
error at destStatted (C:UsersLuisAppDataRoaming
pm
ode_modules
pmlibinstallactionfinalize.js:25:7)
error at C:UsersLuisAppDataRoaming
pm
ode_modules
pm
ode_modulesgraceful-fspolyfills.js:276:29
error at FSReqWrap.oncomplete (fs.js:123:15)
error
error Error: EPERM: operation not permitted, rename 'C:xampphtdocsScalaCM
ode_modules.stagingaccessibility-developer-tools-2e33f290' -> 'C:xampphtdocsScalaCM
ode_modulesaccessibility-developer-tools'
error at Error (native) parent: 'fuse' }
error Please try running this command again as root/Administrator.
verbose exit [ -4048, true ]
node -v gives me a version v6.9.1
npm -v gives me a version as well 4.0.2
Which proves they are all installed fine, am I right?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…