I can't build my next.js project
Unanswered
fdc@青き月の魔女 posted this in #help-forum
masato@raspberrypi:~/projects/website-2gen $ pnpm build
> website@0.1.0 build /home/masato/projects/website-2gen
> next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
▲ Next.js 14.2.5
Creating an optimized production build ...
Downloading swc package @next/swc-linux-arm-gnueabihf...
⨯ Failed to download swc package from https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-14.2.5.tgz
/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/download-swc.js:98
throw new Error(`request failed with status ${res.status}`);
^
Error: request failed with status 404
at /home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/download-swc.js:98:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async extractBinary (/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/download-swc.js:92:9)
at async downloadNativeNextSwc (/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/lib/download-swc.js:153:9)
at async tryLoadNativeWithFallback (/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/swc/index.js:292:5)
at async /home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/swc/index.js:276:40
Node.js v22.5.1
> Build error occurred
Error: Jest worker encountered 1 child process exceptions, exceeding retry limit
at ChildProcessWorker.initialize (/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/jest-worker/index.js:1:11580)
at ChildProcessWorker._onExit (/home/masato/projects/website-2gen/node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/jest-worker/index.js:1:12545)
at ChildProcess.emit (node:events:532:35)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
type: 'WorkerError'
}
ELIFECYCLE Command failed with exit code 1.