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
tsx ./node_modules/vite/bin/vite.js
import { defineConfig } from "vite";export default defineConfig({});
tsx ./node_modules/vite/bin/vite.js
failed to load config from ./vite.config.ts
error when starting dev server:
TypeError: Cannot assign to read only property '.ts' of object '[object Object]'
at loadConfigFromBundledFile (./node_modules/vite/dist/node/chunks/dep-h78lQ5BT.js:66923:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at loadConfigFromFile (./node_modules/vite/dist/node/chunks/dep-h78lQ5BT.js:66754:24)
at resolveConfig (./node_modules/vite/dist/node/chunks/dep-h78lQ5BT.js:66364:24)
at _createServer (./node_modules/vite/dist/node/chunks/dep-h78lQ5BT.js:62977:18)
at CAC.<anonymous> (./node_modules/vite/dist/node/cli.js:735:20)
The text was updated successfully, but these errors were encountered:
Acknowledgements
Minimal reproduction URL
https://github.com/o-alexandrov/bug-tsx-vite
Problem & expected behavior (under 200 words)
To reproduce:
npm run start
see error in cli:
The text was updated successfully, but these errors were encountered: