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
Hi @borzaka, quite a long time since you posted this issue but I wanted to thank you for pointing that out and providing solution right away! The issue was resolved in the newest version of create-vite-express and everything should work out of the box even on Windows.
I have created a Vite Express app with create-vite-express. React + TS. I'am on Windows.
When I run
npm run start
, I get this error:vite-express/create-vite-express/templates/react-ts/package.json
Line 8 in 1189de8
My solution: install cross-env:
npm install --save-dev cross-env
preview
, and keepstart
unchanged"preview": "cross-env NODE_ENV=production tsx src/server/main.ts",
The text was updated successfully, but these errors were encountered: