I
I
Igor2015-08-26 19:10:14
npm
Igor, 2015-08-26 19:10:14

Problem with npm install how to fix?

tell me at least in which direction to dig? Wasted half a day!

PS C:\WORK-project\test> npm install
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm WARN engine [email protected]: wanted: {"node":"0.10.*"} (current: {"node":"0.12.4","npm":"2.10.1"})
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]

> [email protected] postinstall C:\WORK-project\test\node_modules\gulp-imagemin\node_modules\imagemin\node_modules\imag
emin-jpegtran\node_modules\jpegtran-bin
> node lib/install.js

  √ jpegtran pre-build test passed successfully
-
> [email protected] install C:\WORK-project\test\node_modules\gulp-sass\node_modules\node-sass
> node scripts/install.js


> [email protected] postinstall C:\WORK-project\test\node_modules\gulp-sass\node_modules\node-sass
> node scripts/build.js

`win32-ia32-node-0.12` exists; testing
Binary is fine; exiting
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\np
m-cli.js" "install"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! path C:\Users\igor\AppData\Roaming\npm-cache\lodash._isiterateecall\3.0.9\package\package.json
npm ERR! code EPERM
npm ERR! errno -4048

npm ERR! Error: EPERM, rename 'C:\Users\igor\AppData\Roaming\npm-cache\lodash._isiterateecall\3.0.9\package\package.json
'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM, rename 'C:\Users\igor\AppData\Roaming\npm-cache\lodash._isiterateecall\3.0.9\package\package.
json']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   path: 'C:\\Users\\igor\\AppData\\Roaming\\npm-cache\\lodash._isiterateecall\\3.0.9\\package\\package.json',
npm ERR!   parent: 'lodash._createassigner' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\WORK-project\test\npm-debug.log
PS C:\WORK-project\test>

log file

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Feninets, 2015-08-26
@word-al

had the same problem.
it was solved only by cutting out the imedzhmin from package.json.
as a result, I did first "npm install" with all the packages, and then manually installed imagemin.

A
Alexander, 2015-08-26
@tsybuk

current: {"node":"0.12.4","npm":"2.10.1"}) Judging by this line, you already have node + npm installed. What do you even want to do???

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question