Error with rebooting server after syntax error

I’m receiving the following error when I attempt to boot up an existing world:

[2024-04-14 07:15:20.764] (debug) Skipping world fetch (booting existing world with script editing enabled)
[2024-04-14 07:15:20.765] (debug) Status updated | status="Building world"
[2024-04-14 07:15:20.765] (info) Building client bundle...
[2024-04-14 07:15:20.958] (error) Failed to build world bundle | err="Error: Build failed with 1 error:\nruntime/worlds/u_aw88vqd4anaa0x1l49a4a7pv/testworld2/fcb91821-a31e-5542-9e19-09eafdbe90da/client.ts:2:27: ERROR: [plugin: deno-loader] The module's source code could not be parsed: Expression expected at file:///home/ubuntu/dreamlab-mp-server/runtime/worlds/u_aw88vqd4anaa0x1l49a4a7pv/testworld2/fcb91821-a31e-5542-9e19-09eafdbe90da/shared.ts:8:1\n\n  }\n  ~\n    at failureErrorWithLog (https://deno.land/x/[email protected]/mod.js:1626:15)\n    at https://deno.land/x/[email protected]/mod.js:1034:25\n    at runOnEndCallbacks (https://deno.land/x/[email protected]/mod.js:1461:45)\n    at buildResponseToResult (https://deno.land/x/[email protected]/mod.js:1032:7)\n    at https://deno.land/x/[email protected]/mod.js:1061:16\n    at responseCallbacks.<computed> (https://deno.land/x/[email protected]/mod.js:679:9)\n    at handleIncomingPacket (https://deno.land/x/[email protected]/mod.js:739:9)\n    at readFromStdout (https://deno.land/x/[email protected]/mod.js:655:7)\n    at https://deno.land/x/[email protected]/mod.js:1980:11\n    at eventLoopTick (ext:core/01_core.js:168:7)"
[2024-04-14 07:15:20.958] (debug) Status updated | status="Build failed"

This seems to transpire after a syntax error is saved in one of the code files. If I stop the server and restart it, I receive this error. This also seems to stop me from being able to connect. For now I’ll leave an instance on to play around.

1 Like

This has been fixed! Thank you.