question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install error

See original GitHub issue

whenever i run npm install in cmd, i get the following error:

npm ERR! path C:\xampp\htdocs\basicwebsite\node_modules\errno\cli.js npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall chmod npm ERR! enoent ENOENT: no such file or directory, chmod ‘C:\xampp\htdocs\basicwebsite\node_modules\errno\cli.js’ npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

–>

  • Laravel Mix Version: 1.0
  • Node Version (node -v): 9.0.0
  • NPM Version (npm -v): 5.5.1
  • OS: Windows 10 x64

can someone help me please?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
artemskycommented, Nov 9, 2017

@ruchern @Ace217 I thought all dev’s using git-bash instead of PS/CMD on windows)

0reactions
premwebdevelopercommented, Jun 22, 2018

I am facing same error during npm install

E:\xampp\htdocs\laravelchat>npm install npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guide

node-sass@4.9.0 install E:\xampp\htdocs\laravelchat\node_modules\node-sass node scripts/install.js

Cached binary found at C:\Users\Dell\AppData\Roaming\npm-cache\node-sass\4.9.0\win32-ia32-64_b

uglifyjs-webpack-plugin@0.4.6 postinstall E:\xampp\htdocs\laravelchat\node_modules\webpack\n node lib/post_install.js

node-sass@4.9.0 postinstall E:\xampp\htdocs\laravelchat\node_modules\node-sass node scripts/build.js

Binary found at E:\xampp\htdocs\laravelchat\node_modules\node-sass\vendor\win32-ia32-64\bindin Testing binary Binary is fine

gifsicle@3.0.4 postinstall E:\xampp\htdocs\laravelchat\node_modules\gifsicle node lib/install.js

events.js:167 throw er; // Unhandled ‘error’ event ^

Error: write EIO at afterWriteDispatched (internal/stream_base_commons.js:75:25) at writeGeneric (internal/stream_base_commons.js:70:3) at WriteStream.Socket._writeGeneric (net.js:757:5) at WriteStream.Socket._write (net.js:769:8) at doWrite (_stream_writable.js:410:12) at writeOrBuffer (_stream_writable.js:394:5) at WriteStream.Writable.write (_stream_writable.js:294:11) at Squeak.log (E:\xampp\htdocs\laravelchat\node_modules\squeak\index.js:143:14) at Squeak.(anonymous function) [as success] (E:\xampp\htdocs\laravelchat\node_modules\sque at E:\xampp\htdocs\laravelchat\node_modules\gifsicle\lib\install.js:33:6 Emitted ‘error’ event at: at onwriteError (_stream_writable.js:425:12) at onwrite (_stream_writable.js:456:5) at _destroy (internal/streams/destroy.js:40:7) at WriteStream.stderr._destroy (internal/process/stdio.js:45:7) at WriteStream.destroy (internal/streams/destroy.js:32:8) at afterWriteDispatched (internal/stream_base_commons.js:75:17) at writeGeneric (internal/stream_base_commons.js:70:3) [… lines matching original stack trace …] at doWrite (_stream_writable.js:410:12) npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must inst npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! gifsicle@3.0.4 postinstall: node lib/install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the gifsicle@3.0.4 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output ab

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Dell\AppData\Roaming\npm-cache_logs\2018-06-22T12_37_14_858Z-debug.log

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >
npm install error from the terminal - Stack Overflow
Running just "npm install" will look for dependencies listed in your package.json. The error you're getting says that you don't have a ...
Read more >
How to solve npm ERR! code 1 when running npm install
Fix npm error code 1 by updating your dependencies · Update one package version in package.json file · Then run npm install ·...
Read more >
NPM install error - Material Design for Bootstrap
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell...
Read more >
Step by step solution for npm install error - M220JS - MongoDB
Delete the package-lock. · If you see a lot of warning & error messages related to npm-gyp, run npm rebuild & this should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found