You should be able to fix this by adding the following to the top (even before import statements) of src/main.server.ts
:
if (typeof global === undefined) {
globalThis.global = globalThis
}
You should be able to fix this by adding the following to the top (even before import statements) of src/main.server.ts
:
if (typeof global === undefined) {
globalThis.global = globalThis
}