balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
453 stars 139 forks source link

balena-cli 14.5.18 build issue #2577

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

build issue ``` npm verb stack Error: command failed npm verb stack at ChildProcess. (/opt/homebrew/Cellar/node@16/16.19.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27) npm verb stack at ChildProcess.emit (node:events:513:28) npm verb stack at maybeClose (node:internal/child_process:1100:16) npm verb stack at Socket. (node:internal/child_process:458:11) npm verb stack at Socket.emit (node:events:513:28) npm verb stack at Pipe. (node:net:301:12) npm verb pkgid balena-cli@14.5.18 npm verb cwd /private/tmp/balena-cli-20221229-91184-ngn7pw/package npm verb Darwin 21.6.0 npm verb node v16.19.0 npm verb npm v8.19.3 npm ERR! code 1 npm ERR! path /opt/homebrew/Cellar/balena-cli/14.5.18/libexec/lib/node_modules/balena-cli npm ERR! command failed npm ERR! command sh -c -- node patches/apply-patches.js npm ERR! Applying patches from "patches/all"... npm ERR! Failed to apply some patches: npm ERR! Error: Command failed: node node_modules/patch-package/index.js --patch-dir patches/all npm ERR! npm ERR! Warning: patch-package detected a patch file version mismatch npm ERR! npm ERR! Don't worry! This is probably fine. The patch was still applied npm ERR! successfully. Here's the deets: npm ERR! npm ERR! Patch file created for npm ERR! npm ERR! @oclif/config@1.18.2 npm ERR! npm ERR! applied to npm ERR! npm ERR! @oclif/config@1.18.6 npm ERR! npm ERR! At path npm ERR! npm ERR! node_modules/@oclif/config npm ERR! To generate a new one, just repeat the steps you made to generate the first npm ERR! one. npm ERR! npm ERR! i.e. manually make the appropriate file changes, then run npm ERR! npm ERR! patch-package open npm ERR! npm ERR! Info: npm ERR! Patch file: patches/open+7.1.0.patch npm ERR! Patch was made for version: 7.1.0 npm ERR! Installed version: 7.4.2 npm ERR! npm ERR! --- npm ERR! patch-package finished with 2 warning(s), 1 error(s). ```

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/3802055194/jobs/6467243552 relates to Homebrew/homebrew-core#119341

chenrui333 commented 1 year ago

We got it on the homebrew side.