Closed Vages closed 4 years ago
Note that the versions have diverged on Github and npm
Alright, I’m taking a look now. I don’t think it is tied to the version mismatch, as things were mismatched before. It might have to do with the travis deployment change.
I have the same issue
Can't install nps
globally
npm install --global nps
npm ERR! path /Users/antonmac/.nvm/versions/node/v10.16.3/lib/node_modules/nps/dist/bin/nps.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/antonmac/.nvm/versions/node/v10.16.3/lib/node_modules/nps/dist/bin/nps.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/antonmac/.npm/_logs/2019-12-07T17_55_01_292Z-debug.log
All fixed up. New synced-up version is v5.9.12.
nps
version: 5.9.10 (or 5.9.9 going by Github)node
version: 12.13.1npm
version: 6.12.1yarn
version: 1.19.2The command executed:
npm
yarn
The output: npm
yarn
Problem description:
nps
version 5.9.10 (or 5.9.9) is not executable, because nonps
script is added tonode_modules/.bin
.The problem appears somewhat differently with yarn and npm. With yarn, the install succeeds, but no package can be found. With npm, things fail already on install.
Suggested solution: Roll back and find error. I have tried looking through the recent commits, but I can't immediately find anything that caused this.