Quantcast
Channel: npm forum - Topics tagged triaged
Viewing all articles
Browse latest Browse all 30

EINVAL: invalid argument, read

$
0
0

@Spencer wrote:

I’m getting a really annoying error that’s preventing me from installing most packages. Some random person on stackoverflow solved their related issue with deleting node_modules but that doesn’t help me. Forcefully clearing or repairing npm cache also does not help at all.

H:\projects\node\webserver>npm i --save @arcticzeroo/webserver-module-msu
npm ERR! code EINVAL
npm ERR! EINVAL: invalid argument, read

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Spencer\AppData\Roaming\npm-cache\_logs\2018-07-14T19_20_19_084Z-debug.log

This has only started happening in the past few months.

2018-07-14T19_20_19_084Z-debug.log (759.6 KB)
This is the referenced log file.

There are definitely a lot of packages in this project, but I can’t even install simple stuff. Running npm i --save-dev eslint @arcticzeroo/eslint-config fails in https://github.com/ArcticZeroo/webserver-module-msu after either has been installed once before for me.

npm is pretty much unusable for me right now, and I have to use yarn to install modules. Which sucks because yarn is also weird and runs extra random commands from my package.json after I install things…

Posts: 12

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 30

Trending Articles