nornagon / electron-minidump

Symbolicate Electron minidumps
51 stars 14 forks source link

Fails to install on macos #12

Closed indutny-signal closed 2 years ago

indutny-signal commented 2 years ago

When running: npm install -g electron-minidump on macOS Monterey 12.1 with node.js 16.9.1 I get:

npm ERR! code 254
npm ERR! git dep preparation failed
npm ERR! command /Users/indutny/.nvm/versions/node/v16.9.1/bin/node /Users/indutny/.nvm/versions/node/v16.9.1/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/Users/indutny/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code ENOENT
npm ERR! npm ERR! syscall chmod
npm ERR! npm ERR! path /Users/indutny/.nvm/versions/node/v16.9.1/lib/node_modules/minidump/build/src/processor/minidump_stackwalk
npm ERR! npm ERR! errno -2
npm ERR! npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/indutny/.nvm/versions/node/v16.9.1/lib/node_modules/minidump/build/src/processor/minidump_stackwalk'
npm ERR! npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! npm ERR! enoent 
npm ERR! 
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     /Users/indutny/.npm/_logs/2022-01-18T17_57_35_439Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/indutny/.npm/_logs/2022-01-18T17_57_36_203Z-debug.log
indutny-signal commented 2 years ago

I think the issue is that minidump is installed from git url, but the installation doesn't work because checkout doesn't have submodules.

nornagon commented 2 years ago

Yeah, I ran across this too. Should be fixed now!

indutny-signal commented 2 years ago

Hooray!