You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had a lot of external services in our nextjs app, and decided to use dokcer-compose to streamline the local development. This docker-compose file has a postgres service whose volume is mapped to the .data directory (in the root of the project)
Now when I do npx shadcn@latest add card (or any component for that matter), it gives the following error
✔ Checking registry.
⠋ 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 '<dir>/.data/postgresDb'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We had a lot of external services in our nextjs app, and decided to use dokcer-compose to streamline the local development. This docker-compose file has a postgres service whose volume is mapped to the
.data
directory (in the root of the project)Now when I do
npx shadcn@latest add card
(or any component for that matter), it gives the following errorAny suggestions on How do I solve this error ?
Beta Was this translation helpful? Give feedback.
All reactions