NextJS bun bundler failed build

Repository works on codespaces with bun install → bun run dev with no errors.
Current build settings set to next build, bun install, bun run dev.
Throws multiple errors
Error while parsing config file: “/vercel/path0/package-lock.json”
error: Missing entrypoints. What would you like to bundle?
Error: Command “bun build” exited with 1

Bun bundler for nextjs for vercel CI/CD

Using nextjs and package.json regular.
I changed the builds inside from npm install to bun install. Should I install bun using npm prior to using it in the build?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.