bun-community/create-templates

create next app error

Opened this issue · 0 comments

mrkerr commented

I was following the docs for creating a template next app. I ran bun create next ./app which worked correctly but after running bun dev and opening localhost I get the error:

error: Framework didn't run addEventListener("fetch", callback), which means it can't accept HTTP requests.
Shutting down JS.
error: Framework didn't run addEventListener("fetch", callback), which means it can't accept HTTP requests.
Shutting down JS.


error: For security reasons, macros cannot be run from node_modules.

maybeInjectApp();
^
/path/to/app/node_modules/bun-framework-next/fallback.development.tsx:36:1 913

Did I miss something in the docs or is there a solution to this problem?