-
-
Notifications
You must be signed in to change notification settings - Fork 196
Postinstall fails on Antergos with EACCES: permission denied, mkdir '/usr/lib/node_modules/nativescript/docs/html' #3694
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @heapifyman, Can you please try to execute |
Hello @Fatme,
|
Hi @heapifyman I'm glad to hear your issue is resolved. Actually you're hitting this issue #1364 (comment). |
Hello @Fatme , I'm sorry but I don't think the issue is actually resolved. While Secondly, and more importantly, the workaround is nowhere mentioned in any of the installation docs or getting started guides, as far as I can see. But based on other github issues linked to #1364 I see that I am not the first one to encounter this issue. |
Agree. this started happening for me as well since the last 2-3 versions. Every time a new version of TNS cli is released feel like I need to add a new argument the the install command :) Probably something related to our setup and permissions. Would be nice to know the recommended setup. |
I am having the same issue. its pain in the ass, trying to sort this out where I could have been spending my time on building my app instead of dealing with this error. |
From @heapifyman on June 19, 2018 12:32
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
yes
Tell us about the problem
Postinstall script fails when running
sudo npm install -g nativescript
. It produces the following error message:Running
sudo node /usr/lib/node_modules/nativescript/postinstall.js
completes without errors./root/.local/share/.nativescript-cli
exists but maybe has wrong permissions?:drwxr-xr-x 2 heapifyman root 4096 19. Jun 14:27 .nativescript-cli
Which platform(s) does your issue occur on?
Antergos Linux
Linux 4.17.2-1-ARCH
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Run
sudo npm install -g nativescript
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No
Copied from original issue: NativeScript/NativeScript#5969
The text was updated successfully, but these errors were encountered: