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

fix: handle permissions error on directory creation #5480

Conversation

janoshrubos
Copy link
Contributor

PR Checklist

What is the current behavior?

If node is not properly installed documentation generating might fail, caused by node and the packages are in a system protected folder. The CLI does not have permission to create directory in system folders.

What is the new behavior?

In case of node and packages are in a system protected folder, the documentation generation logs an error with help, how to run the command.

Fixes #5445

@cla-bot cla-bot bot added the cla: yes label Jan 21, 2021
@rigor789 rigor789 merged commit 58e833d into NativeScript:master Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[macOS] ns help generates EACCES Permission Denied
2 participants