You will need pnpm, if you want to use npm or yarn you will need to moidfy package.json
file.
https://pnpm.io/installation
Run the Vite dev server:
pnpm run dev
To run Wrangler:
pnpm run build
pnpm run start
First, build your app for production:
pnpm run build
Then run the app in production mode:
pnpm start
Now you'll need to pick a host to deploy it to.
If you're familiar with deploying Node applications, the built-in Remix app server is production-ready.
Make sure to deploy the output of pnpm run build
build/server
build/client