I believe the module "node:path" is missing. It appears to be a required module for the Vite framework you're using. You should check the version of node and npm you are using on your remote hosting. Make sure that it is compatible with the version of Vite you are using. If not, upgrade or downgrade the version of node and npm to match the version required by Vite.
You can also try uninstalling and reinstalling the Vite framework and its dependencies to see if that resolves the issue.
When you see the error sh: vite: command not found while running your project on a server, it means the system can’t locate the Vite executable because it’s either not installed globally, or the server isn’t aware of the local node_modules/.bin path where it resides. This often happens when moving a project from your local machine to a server without reinstalling dependencies (npm install or yarn install) or without adjusting your run command to use npx vite instead. To fix it, ensure your server has Node.js installed, run your package manager’s install command in the project root, and then run Vite using npx vite or a package script defined in package.json....Try Once: www.kisskhd.app