Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Package Request] Create Now CLI for Linux — and if possible for other supported operating system(s) #36395

Closed
x80486 opened this issue Mar 6, 2018 · 1 comment

Comments

@x80486
Copy link

x80486 commented Mar 6, 2018

Since it's close to impossible to install the Zeit's Now CLI via npm install -g now (I get the "defeats the purpose of Nix by polluting the global namespace rhetoric"):

gorre@uplink: ~ $ npm install -g now
npm WARN checkPermissions Missing write access to /nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules
npm ERR! path /nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules'
npm ERR!  { Error: EACCES: permission denied, access '/nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules'
npm ERR!   stack: 'Error: EACCES: permission denied, access \'/nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules\'',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/nix/store/s29q2s4g19sara2pv983qksqdr2qpz14-nodejs-8.9.4/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gorre/.npm/_logs/2018-03-06T20_59_39_729Z-debug.log

...it would be nice to have a package for Zeit's Now CLI.

I'm not sure if people specify the operating system, but I'm not using NixOS. I'm using Linux — specifically Arch. I can actually use pacman but I like the Nix Package Manager!

matthewbauer added a commit to matthewbauer/nixpkgs that referenced this issue Mar 8, 2018
@x80486 x80486 closed this as completed Aug 23, 2018
@giodamelio
Copy link
Contributor

The now-cli seems to be published as a binary now (if you forgive my pun), it doesn't seem to need node to run. Maybe it could be packaged on it's own?

I might take a crack at it myself later if this seems reasonable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants