Darwin Vestimirs-MacBook-Air.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
What steps will reproduce the bug?
Running bun in pre-existing relatively large nextjs codebase.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
To run the existing nextjs project
What do you see instead?
[0.39ms] "node_modules.server.bun" - 224 modules, 54 packages
SyntaxError: Unexpected identifier 'â'. Expected '}' to end an object literal.
at http://localhost:3000/blob:node_modules.server.bun:31849:0
JavaScript VM failed to start.
while loading "/dev/cms-starter-next-gen/node_modules/bun-framework-next/server.development.tsx"
Both Bun and Next.js have changed a lot since this issue was created. If you can still reproduce this error after upgrading both, please feel free to re-open this issue.
Version
0.1.4
Platform
Darwin Vestimirs-MacBook-Air.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
What steps will reproduce the bug?
Running bun in pre-existing relatively large nextjs codebase.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
To run the existing nextjs project
What do you see instead?
Digging through the compiled .bun file:
Additional information
No response