Skip to content

Instantly share code, notes, and snippets.

@scripting
Created May 31, 2022 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scripting/db42b5eb02c8b61cf8fc2f0ccba9ce32 to your computer and use it in GitHub Desktop.
Save scripting/db42b5eb02c8b61cf8fc2f0ccba9ce32 to your computer and use it in GitHub Desktop.
just a random node error log
seattle:scripting.com-code-electricdrummer davewiner$ npx electron-builder -m
Need to install the following packages:
electron-builder
Ok to proceed? (y) y
npm WARN deprecated dmg-license@1.0.11: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at: https://github.com/argv-minus-one/dmg-license/issues/11
• electron-builder version=23.0.3 os=20.5.0
• loaded configuration file=/Users/davewiner/nodeEditor/scripting.com-code-electricdrummer/electron-builder.json
• writing effective config file=dist/builder-effective-config.yaml
• installing production dependencies platform=darwin arch=arm64 appDir=/Users/davewiner/nodeEditor/scripting.com-code-electricdrummer
⨯ /usr/local/bin/node process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Error output:
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
failedTask=build stackTrace=Error: /usr/local/bin/node process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
Error output:
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
at ChildProcess.<anonymous> (/Users/davewiner/.npm/_npx/009083ec26dc578f/node_modules/builder-util/src/util.ts:250:14)
at Object.onceWrapper (node:events:642:26)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm notice
npm notice New minor version of npm available! 8.5.5 -> 8.11.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.11.0
npm notice Run npm install -g npm@8.11.0 to update!
npm notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment