Instance stuck in EROFS error but forked repl works fine

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

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:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Replit Profile:

1 Like

You can hard restart a repl by running kill 1 in the Shell tab.

This fixed it. Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.