-
Notifications
You must be signed in to change notification settings - Fork 318
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
Issue with Global Install of Ngrok in Linux With NPM #87
Comments
thx for reporting! @gaoqiankun can you quickly spot some permission problems here?
I can add .on('error') handlers to prevent uncaught, but I'm not sure what the problem is yet |
Hi, No problem. I am working on a project right now, but I should be done with it in 3-ish hours. If you want and have not solved it by then, I can take a look and see if I can resolve it and will add a pull request if I do. |
@TKOBabu
Then, i install ngrok on ubuntu by
I don't think creating read/write stream will cause permission problem, and I never use archlinux before, can you give me some more time, to find what the real problem is. |
@gaoqiankun @TKOBabu thanks for investigation! |
@bubenshchykov
Then i tried
Then
So, it may be a bug of npm on archlinux. |
please try |
@TKOBabu might be fixed in latest version, can you try? |
@bubenshchykov should not modify ownership / permission for just |
Anyone who's going to use
think 100 times before. I just had to reinstall entire ubuntu cause I accidently ran
on /usr . There's no solution if you change permissions of files that you don't even know. |
@malivp3494 I've already mentioned that above. You should have read that. 😈 |
@ankibalyan yeah, but I read the solution somewhere else, and went with it. And now I regret it. There really needs to be other way around instead using |
way I do is, |
@ankibalyan You should comment with a short procedure here, if you have time. For future users, who are going to use this, it will help a lot. |
hi guys, sorry to cause you problems by suggesting sudo in the comment above. i knew sudo is risky, but didn't know it could kill an entire OS :(
|
or one can follow, these steps https://docs.npmjs.com/getting-started/fixing-npm-permissions |
I was doing |
I was facing the same problem in OSX even |
This is what worked for me on MacOS - thanks! |
Issue that arises.
Done with Arch Linux using npm version 5.3.0 with Linux Kernel 4.11.5-1-ARCH
Content from Log File about the error
The text was updated successfully, but these errors were encountered: