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

Error: NoPermissions (FileSystemError) #2

Open
galen211 opened this issue Dec 20, 2024 · 1 comment
Open

Error: NoPermissions (FileSystemError) #2

galen211 opened this issue Dec 20, 2024 · 1 comment
Assignees

Comments

@galen211
Copy link

On my system, when I try to run "generate widgetbook entry for each widget in this directory" on the example application, I get the below error:

Failed to execute action. Error: NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/Users/ga'. Please create an issue in extension's repository with minimal reproducible example.

I'm trying to run this on the packages/my_common_ui/lib/src/widgets folder.

@FirentisTFW
Copy link
Collaborator

Thanks for trying out the tool and filling the issue!

The problem was in the example project. The name of the project in setting.json file was my local one, but when you clone the project from GH it names the directory after the repository name - widgetbook-vsc-extension-example-project in this case. So it worked for me locally on the old repo which was named differently, but when I cloned a new repo, it was not working.

Thanks for noticing this, I pushed a fix to the example repository. You can pull the changes and see if it works for you now.

@FirentisTFW FirentisTFW self-assigned this Dec 23, 2024
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

No branches or pull requests

2 participants