nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
802 stars 35 forks source link

onHubReady is not defined #158

Closed mhinton closed 2 weeks ago

mhinton commented 2 weeks ago

Describe the bug When updating from Nuxt 3.11 to 3.12 and @nuxthub/core 0.6.10 to 0.6.12 and using the migration file documented here https://hub.nuxt.com/docs/recipes/drizzle#migrations. On startup I get the following error. ERROR [nitro] [unhandledRejection] onHubReady is not defined

robinsimonklein commented 2 weeks ago

Same here, got this error even by trying to explicitly import the hook with import { onHubReady } from '@nuxthub/core/dist/runtime/base/server/utils/hooks';

EDIT : I also tested @nuxthub/core@0.6.12 with Nuxt 3.11 and the error is still the same

FutureExcited commented 2 weeks ago

+1

farnabaz commented 2 weeks ago

This should be Fixed in https://github.com/nuxt-hub/core/releases/tag/v0.6.13