Closed octoshrimpy closed 9 months ago
I have the same error via bun run start
but was able to get it going via:
npm install --prefix . bun
node_modules/.bin/bun install
node_modules/.bin/bun --bun start
Use the --bun
flag, like so:
bun --bun start
This would be the whole Bun setup equivalent:
git clone https://github.com/nuejs/create-nue.git
cd create-nue
bun install
bun --bun start
open "http://localhost:8080"
This issue is caused by the Node shebang (#!/usr/bin/env node
) in the script. Bun respects it and executes the script using Node. We have to explicitly override it, hence the --bun
flag.
Thank you @kon-pas for this!
Closing this one, since this issue relates to the original/outdated version
using bun to run, it still says "no builder found (esbuild or Bun)"