Closed
Description
Opening a new issue as requested by @isaacs #1832 (comment)
Current Behavior:
Installing a dependency from a GitHub URL fails.
Expected Behavior:
Dependency is installed without error.
Steps To Reproduce:
npm init -y
npm i -D git://github.com/GoogleChromeLabs/critters.git
Yields:
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --cache=/Users/my-name/.npm/_cacache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit
npm ERR! npm ERR! code ERESOLVE
npm ERR! npm ERR! Cannot destructure property 'name' of 'node' as it is null.
Environment:
- OS: MacOS 10.15.6
- Node: v15.5.1
- npm: 7.4.0