Bug description:
I was building a react app when the repl stopped updating the webview from my code changes. This is what the console says. When I fork the repl, the new one works fine. I don’t know how to restart/reboot my repl instance but I suspect that would fix it.
npm run dev
react-typescript@1.0.0 dev
vite
failed to load config from /home/runner/React-TypeScript-Mystery-Game/vite.config.js
error when starting dev server:
Error: EROFS: read-only file system, open ‘/home/runner/React-TypeScript-Mystery-Game/vite.config.js.timestamp-1687144186663.mjs’
at Object.openSync (node:fs:590:3)
at Object.writeFileSync (node:fs:2202:35)
at loadConfigFromBundledFile (file:///home/runner/React-TypeScript-Mystery-Game/node_modules/vite/dist/node/chunks/dep-71eb12cb.js:62891:14)
at loadConfigFromFile (file:///home/runner/React-TypeScript-Mystery-Game/node_modules/vite/dist/node/chunks/dep-71eb12cb.js:62780:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async resolveConfig (file:///home/runner/React-TypeScript-Mystery-Game/node_modules/vite/dist/node/chunks/dep-71eb12cb.js:62398:28)
at async createServer (file:///home/runner/React-TypeScript-Mystery-Game/node_modules/vite/dist/node/chunks/dep-71eb12cb.js:59018:20)
at async CAC. (file:///home/runner/React-TypeScript-Mystery-Game/node_modules/vite/dist/node/cli.js:699:24)
exit status 1
^C
Expected vs Current Behavior:
I expected the repl to keep working.
Steps to reproduce:
Bug appears at this link: https://replit.com/@wroscoe/React-TypeScript-Mystery-Game
Screenshot(s)/Screen Recording:
Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Replit Profile: https://replit.com/@wroscoe