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

[bug]: shadcn add EACCES: permission denied, scandir #4813

Open
2 tasks done
sndnr opened this issue Sep 11, 2024 · 1 comment
Open
2 tasks done

[bug]: shadcn add EACCES: permission denied, scandir #4813

sndnr opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@sndnr
Copy link

sndnr commented Sep 11, 2024

Describe the bug

Having a 'data' docker/podman folder at the same level of components,

app/
data/
components/ui
tailwind.config.ts
tsconfig.json
components.json
[...]

Gives a :

EACCES: permission denied, scandir '${SOMEPATH}/next-project/data'

Even if i runshadcn add button -p ./components/ui

This also fails on a shadcn init, having the data folder previously created/used

Affected component/components

CLI add/init

How to reproduce

shadcn init
EACCES: permission denied, scandir ...SOMEPATH

shadcn add button -p ./components/ui
✔ Checking registry.
✔ Installing dependencies.
⠋ Updating files.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

EACCES: permission denied, scandir ...SOMEPATH

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Selinux

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@sndnr sndnr added the bug Something isn't working label Sep 11, 2024
@JoaquinRodriguezc
Copy link

same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants