Skip to content

SyntaxError: Indirectly exported binding name 'default' cannot be resolved by star export entries #74

@stevehollaar

Description

@stevehollaar

Hello!
I'm hitting the following while trying bun on an existing nextjs project. Any suggestions on how to debug?

bun
[0.12ms] "node_modules.bun" - 1933 modules, 130 packages
[0.03ms] ".env.development"
[3.00ms] Bun!! v0.0.52


  Link: http://localhost:3001


[0.06ms] "node_modules.server.bun" - 1938 modules, 131 packages
[0.00ms] ".env.development"
[91.62ms] Next.js ready! (powered by Bun)
75 |         console.error(err);
76 |     });
77 |     addEventListener("fetch", async (event) => {
78 |       var route = Bun.match(event);
79 |
80 |       const PageNamespace = await import(route.filePath);
                                      ^
 SyntaxError: Indirectly exported binding name 'default' cannot be resolved by star export entries.
      at (anonymous) (http://localhost:3001/blob:node_modules.server.bun:80:34)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtranspilerparser || printer

    Type

    No type
    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