I am trying to initialise the builder but there seems to be some issue in either of the internal scripting, as each time it shows error command sh -c create-builder
I am using a ARM based system, and detail log can be found below:
0 verbose cli /root/.nvm/versions/node/v22.9.0/bin/node /root/.nvm/versions/node/v22.9.0/bin/npm
1 info using npm@10.8.3
2 info using node@v22.9.0
3 silly config load:file:/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/npmrc
4 silly config load:file:/root/diamondking/dkc/.npmrc
5 silly config load:file:/root/.npmrc
6 silly config load:file:/root/.nvm/versions/node/v22.9.0/etc/npmrc
7 verbose title npm init builder.io@latest
8 verbose argv "init" "builder.io@latest"
9 verbose logfile logs-max:10 dir:/root/.npm/_logs/2024-10-13T13_52_32_527Z-
10 verbose logfile /root/.npm/_logs/2024-10-13T13_52_32_527Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly packumentCache heap:1046216704 maxSize:261554176 maxEntrySize:130777088
14 http fetch GET 200 https://registry.npmjs.org/create-builder.io 1023ms (cache revalidated)
15 silly packumentCache heap:1046216704 maxSize:261554176 maxEntrySize:130777088
16 verbose stack Error: command failed
16 verbose stack at promiseSpawn (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:22:22)
16 verbose stack at spawnWithShell (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:124:10)
16 verbose stack at promiseSpawn (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:12:12)
16 verbose stack at runScriptPkg (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:77:13)
16 verbose stack at runScript (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:12)
16 verbose stack at run (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/libnpmexec/lib/run-script.js:48:10)
16 verbose stack at async exec (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/node_modules/libnpmexec/lib/index.js:298:10)
16 verbose stack at async Init.execCreate (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/lib/commands/init.js:135:5)
16 verbose stack at async Init.exec (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/lib/commands/init.js:44:14)
16 verbose stack at async Npm.exec (/root/.nvm/versions/node/v22.9.0/lib/node_modules/npm/lib/npm.js:207:9)
17 verbose pkgid dkc@0.1.0
18 error code 1
19 error path /root/diamondking/dkc
20 error command failed
21 error command sh -c create-builder
22 verbose cwd /root/diamondking/dkc
23 verbose os Linux 6.10.12-200.fc40.aarch64
24 verbose node v22.9.0
25 verbose npm v10.8.3
26 verbose exit 1
27 verbose code 1
Detailed steps to reproduce the bug
create a project with npx create-next-app@latest
cd /path/to/project
run npm init builder.io@latest
Code stack you are integrating Builder with
NextJs
System Config:
Fedora Linux
Nodejs 22
Nextjs Latest
Arch : ARM x64 (VM on Apple Silicon)