Skip to content

CF worker with SPA and Chanfana not working #285

Description

@5war00p

I'm trying SPA with CF worker which has vite-plugin integrated. However, when I'm trying to request an api through wrangler server / vite server I'm getting the following error:

✘ [ERROR] TypeError: Class constructor Test cannot be invoked without 'new'

Also the docs_url, openapi_url and redoc_url were not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions