Serhii Chernenko
@tus/server production build error
I guess the issue is related to cloudflare pages preset in nitro when it's deployed with nuxthub integration.
there's the same mention
https://community.cloudflare.com/t/typeerror-class-extends-value-undefined-is-not-a-constructor-or-null/355092
I tried to add in during development
build: {
transpile: ['@tus/server', '@tus/file-store'],
},
and have the error even in dev mode but it's different
[500] Cannot access 'renderer$1' before initialization
12 replies
Can not get my layer to work
@Дід-Developer there's an example how to organize layers, I hope it helps you:
https://github.com/serhii-chernenko/nuxthub-issue
in general, yes, you have to include each layer to another layer if you need to use any stuff from the previous layer such as server endpoints, composables, components, etc.
48 replies