Skip to content

svelte static adapter mode use graffle: import_module.createRequire is not a function #1486

Description

@cleveng

Screenshot

Image

black screen or enters 404 page, For detailed information, please visit the demonstration page.

Description

svelte project

  • @sveltejs/adapter-static (adapter-node it will working)
Uncaught TypeError: (0 , import_module.createRequire) is not a function

i have no idea to fix it.

Reproduction https://stackblitz.com/edit/vitejs-vite-jqzwicxh?file=src%2FApp.svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions