Open
Description
After updating all packages to their latest versions, an error occurred when running vite dev. You can see the demo project located at GitHub Repository. I've also made a Workflow that just installs packages, and attempts to npm run dev
which produces the same error output can be seen at this GitHub Actions run.
The specific error message is as follows:
MiniflareCoreError [ERR_MODULE_DYNAMIC_SPEC]: Unable to resolve "<script:0>" dependency: dynamic module specifiers are unsupported.
You must manually define your modules when constructing Miniflare:
new Miniflare({
modules: [
{ type: "ESModule", path: "<script:0>" }
]
})
To reproduce the issue, you can use the provided demo project at the above GitHub repository.
I did change to index.ts
(TypeScript) but even switching that back to plain .js
it seems to cause the same problem with the import from what I can tell.
Metadata
Metadata
Assignees
Labels
No labels