oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.3k stars 2.78k forks source link

Nuxt install with bun #9420

Open raishid opened 8 months ago

raishid commented 8 months ago

COMMAND

bunx nuxi@latest init nuxt-bun

What version of Bun is running?

error: File not found "*\AppData\Local\Temp\bunx-2327726586-nuxi@latest\node_modules\nuxi\bin\nuxi.mjs init Nuxt-Bun"

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

cant install Nuxt project

What is the expected behavior?

create folder structure project nuxt

What do you see instead?

No response

Additional information

No response

Electroid commented 8 months ago

Could you share the commands you ran to get to this state?

raishid commented 8 months ago

Could you share the commands you ran to get to this state?

ready, im using the command that is in the official nuxt documentation

bunx nuxi@latest init <project-name>

https://nuxt.com/docs/getting-started/installation

owljackob commented 8 months ago

+1

MickL commented 8 months ago

Works fine for me, I am on macOS 14.4

BryceBarbara commented 7 months ago

What version of node are you running?

iamlaristo commented 7 months ago

Same here. Im' on Windows 11 and Node 21 via NVM. When I run bunx nuxi@latest init myproject it says: error: Script not found "nuxi@latest". It works in Powershell but not un regular CMD and using Cmdr which is my main terminal on Windows.

alejandroyunes commented 6 months ago

Microsoft Windows 11 Pro - node 20.x same issue.

Turbo-Thorschten commented 5 months ago

Same..

kamafozilov commented 5 months ago

image

Same issue.

FETWEB commented 5 months ago

Same. bunx nuxi@latest init project - error: Script not found "nuxi@latest". Windows 11

FETWEB commented 5 months ago

Problem solved. I removed the bun that I installed via npm, and installed it again using powershell -c "irm bun.sh/install.ps1|iex"