Nuxt 3 default installation failure
Steps:
npx nuxi init nuxt3-app
cd nuxt3-app
yarn install
...
➤ YN0007: │ esbuild@npm:0.15.16 must be built because it never has been before or the last one failed
➤ YN0009: │ root-workspace-0b6124@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/fy/5150pd4j4r178824l3370rdc0000gn/T/xfs-c1b3cfde/build.log)
➤ YN0000: └ Completed in 1s 408ms
➤ YN0000: Failed with errors in 7s 687ms

5 Replies


I am using yarn, is anything similar for yarn?
3.3.0
v18.12.1
you have yarn 1.22.19 I see
m1 pro mac here as well
let me switch to your versions, love volta tool btw
well the install went well
but
if you try: nuxi dev
ERROR The request url "/Users/mendrinos/.volta/tools/image/packages/nuxt3/lib/node_modules/nuxt3/node_modules/ufo/dist/index.mjs" is outside of Vite serving allow list.
perhaps it's linked to volta
nothing, btw I find it annoying it's so tricky to just have the dev build running (even form a clean state)
this is using the latest yarn 3.3.0
funny enough, I had previously a MacBook air M2 but with 8 GB ram only, and it worked 🙂
same codebase
hmm
btw went to https://nodejs.org/en/
and downloaded node for mac
just to be safe
I managed to fix it
volta install node@latest
volta install yarn@latest
volta install @yarnpkg/plugin-interactive-tools