-
Notifications
You must be signed in to change notification settings - Fork 317
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
npm global install on Ubuntu 17.10 fails #115
Comments
I don't think it was ever fixed. I thought that npm process creates /usr/lib/node_modules/ngrok/bin/, and then the same process writes .zip to it during postinstall. Apparently not. There are global installation tests running on Ubuntu 14 LTS, they are green and stable. https://travis-ci.org/bubenshchykov/ngrok/jobs/362082022#L681 So there are might be 17.10 specific things, or maybe a special local user-permissions setup that you have. Try to check who owns "/usr/lib/node_modules/ngrok/bin/" and who tries to write into it? |
I was able to solve this issue by running the npm global install with the
See more info on By default, npm runs its lifecycle scripts (i.e. You might want to note this in the |
@thisdavej great, I will update readme and then close this issue. Thanks a lot for your help! |
Added to readme https://github.com/bubenshchykov/ngrok/blob/master/README.md#usage Long term, I hope we'll get rid of posinstall.js and host ngrok binary on npm as individual os-restricted packages. #98 |
Similar to issue#87, I cannot do an npm install of ngrok globally. I have tried it on Ubuntu 17.10 and Raspbian Stretch. Perhaps the issue was fixed and now it is broken again?
Here's the npm debug log output:
The text was updated successfully, but these errors were encountered: