Skip to content

@nuxthub/core prevent deploying to other sites #529

@dearfad

Description

@dearfad

When @nuxthub/core enabled in nuxt.config.ts, vercel netlify and other providers failed deploying automatic by github with error message

[error] [nuxt:hub] NuxtHub is only compatible with the cloudflare_pages, cloudflare_module or cloudflare_durable presets.

So I must enable @nuxthub/core to wait for cloudflare pages ready, then delete @nuxthub/core and push code to github again, is there any method to solve it,

I tried this way in hub env with HOSTING_PROVIDER, but failed again.
modules: [
'@nuxt/eslint',
process.env.HOSTING_PROVIDER === 'nuxthub' ? '@nuxthub/core' : '',
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions