Skip to content
Back

sh: vite: Permission denied

  • 0
  • 1
  • Self Hosted
  • Web
16 Jun, 2026, 04:00

When installing the vue starter template as site and then adding DaisyUI, i get the error sh: vite: Permission denied. I also got this issue (with a fresh template again) after installing PrimeVue, which apparently exceeds the upload size so i had to uninstall it again. After uninstalling and pushing, i get the error.

TL;DR
Deleting the node modules folder resolves the issue of "Permission denied," but the starter's gitignore does not apply to the node_modules folder, causing the appwrite cli to upload it irrespective of the gitignore settings.
16 Jun, 2026, 04:43

Deleting the node modules folder fixes it, however the starter has a gitignore which ignores the node_modules folder, so the appwrite cli seems to ignore it and upload it anyway

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more