Sh: 1: vite: Permission denied error

ok i face this error when i am trying to deploy my web app what shoud i do?

Hi,

You’ve not provided much information here, but a Node package “permission denied” error often points to you committing the node_modules folder in your repo, which isn’t recommended.

You should remove the node_modules folder from your repo and install dependencies as part of your build command. Like this other community post with the same error: https://community.render.com/t/sh-1-vite-permission-denied/19465/3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.