Answer the question
In order to leave comments, you need to log in
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>
Answer the question
In order to leave comments, you need to log in
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question