nuxt-hub / core

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

onHubReady is not defined #158

Closed mhinton closed 5 months ago

mhinton commented 5 months 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 5 months 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 5 months ago

+1

farnabaz commented 5 months ago

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