sezna / nps

NPM Package Scripts -- All the benefits of npm scripts without the cost of a bloated package.json and limits of json
MIT License
1.43k stars 93 forks source link

yarn add -D nps #202

Closed lookfirst closed 5 years ago

lookfirst commented 5 years ago

Doesn't put nps in node_modules/.bin

benweier commented 5 years ago

Here's a little more information. Installing nps or running npx nps produces an error that appears to be the same problem as #49

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /Users/[user]/.npm/_npx/36389/lib/node_modules/nps/dist/bin/nps.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/[user]/.npm/_npx/36389/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 

I have successfully installed nps@5.9.5 and able to use npx nps@5.9.5

lookfirst commented 5 years ago

Which is in turn probably related to this: https://github.com/sezna/nps/commit/ecb5c434a54ad5b9331b7149eb46db035246da37

lookfirst commented 5 years ago

yarn add -D nps@5.9.5 works

Ameobea commented 5 years ago

Hi! Sorry about that - there was a misconfiguration with the new automated deploys via CI that caused some bad versions to be pushed out. I've resolved this manually for now, and nps@5.9.8 is working. I'm working on a pull request to resolve the CI config issues and fix future automated deploys.

The repo just got a new maintainer very recently who is in the process of changing some things up; sorry for the inconvenience!