1

Has anyone started an angular project with bun in windows.

I'm currently facing an issue when trying to run the app using bun, the build takes more than an hour to build.

The steps I took:

bun install -g @angular/cli

ng new bun-x-angular

bun run start

the application hangs on the build step and never completes.

1 Answer 1

-1

Make sure you have installed bun.

powershell -c "irm bun.sh/install.ps1|iex"

Then check that you have bun setup using version command.

bun --version

After installing bun, check the compatible version of node.js, since ng new bun-x-angular uses npm (this is a precautionary step)

Angular & Node.js Compatibility

Then finally running bun run start inside the angular project generated should work fine.

Bun version used: 1.2.8

Angular version used: 19.2.6

Node.js version used: v23.5.0 ( Use exact version as mentioned in compatibility link)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.