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

doesn't work in windows #2

Open
jonathanong opened this issue Mar 7, 2014 · 2 comments
Open

doesn't work in windows #2

jonathanong opened this issue Mar 7, 2014 · 2 comments

Comments

@jonathanong
Copy link
Contributor

getting ENOENT when trying to spawn npm commands. hmmm not sure why that is. freaking windows.

@dead-horse
Copy link
Member

you can not execute script by #!/usr/bin/env node in windows, so npm install -g in windows will generate a npm-org-rights.cmd in global path (seems like also copy npm-org-rights to this directory). in this .cmd file it will execute node npm-org-rigths.

but your _npm-org-rights file not in this global path, add "_npm-org-rights": "./bin/_npm-org-rights" into package.json's bin maybe can fix this.

not sure, no windows machine now.

@jonathanong
Copy link
Contributor Author

hmmm actually yeah i think just adding it as a bin should work. but i don't have a windows machine right now either hahaa

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

No branches or pull requests

2 participants