Skip to content

[macOS] ns help generates EACCES Permission Denied #5445

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

Closed
fossette opened this issue Dec 2, 2020 · 0 comments · Fixed by #5480
Closed

[macOS] ns help generates EACCES Permission Denied #5445

fossette opened this issue Dec 2, 2020 · 0 comments · Fixed by #5480

Comments

@fossette
Copy link

fossette commented Dec 2, 2020

Environment

  • macOS Catalina 10.15.5, using an account having the administrator privileges
  • CLI: 7.0.11 (iOS and Android setup)
  • Your current package manager is npm 6.14.8
  • XCode Version: 12.2 (12B45b)

Describe the bug, runtime error
(I think) I followed the macOS install procedure. I somehow ended-up with a missing
/usr/local/lib/node_modules/nativescript/docs/html system directory.

To Reproduce
Run ns help when the /usr/local/lib/node_modules/nativescript/docs/html system directory is missing.
EACCES: permission denied, mkdir '/usr/local/lib/node_modules/nativescript/docs/html'

Expected behavior
Check for relevant credentials before executing the mkdir command, and propose to run using sudo to work arround this issue.

Sample project
Not required

Additional context
Similar to: #3694

@fossette fossette changed the title [macOS] ns help genetates EACCES Permission Denied [macOS] ns help generates EACCES Permission Denied Dec 2, 2020
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

Successfully merging a pull request may close this issue.

1 participant