Error when npm installing 1.7.0
See original GitHub issueHey guys, it seems that there’s an issue with the latest version. We tried on 3 different machines, all current NPM versions, in repos where it used to work before and in empty folders, and it always says:
npm ERR! path <DEV_PATH>\node_modules\node-jq\bin\jq
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '<DEV_PATH>\node_modules\node-jq\bin\jq'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Installing an older version works: npm install node-jq@1.5.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
npm install errors with Error: ENOENT, chmod - Stack Overflow
Continuosly check if ~/.npm/ contains subdirs with ownership (and/or permissions) other than your local user account, especially when you install or update ...
Read more >http-errors - npm
Create HTTP errors for Express, Koa, Connect, etc. with ease. Install. This is a Node.js module available through the npm registry. Installation ......
Read more >NPM install error - Prime Community Forum
On a fresh install of the template, running npm install results in this ... karma-jasmine@">=1.1" from karma-jasmine-html-reporter@1.7.0 npm ...
Read more >Solved: [ERROR] Failed to execute goal com.github.eirslett...
You are probably getting this error maybe because you have not completed a "npm install". NPM install will download all the dependencies that...
Read more >npm install error - error code ELIFECYCLE
23 error Failed at the project@1.7.0 init script 'npm install && npm run build'. 23 error Make sure you have the latest version...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
BTW, I have it installed in the system, which jq /usr/bin/jq
but I had the same ENOENT crash saying it was not found in node_modules/node-jq/bin/jq. My workaround was to pass the ‘/usr/bin/jq’ into ‘run’ method as the forth optional parameter, then it worked.
There’s a paragraph explaining that:
Will improve it, Thanks