Unable to install drizzle with npm
salvobee opened this issue · 1 comments
salvobee commented
I'm unable to install drizzle with npm in an empty project using node v16
Steps to reproduce
Node Version: v16.10.0
NPM Version: 7.24.0
Create a new npm project:
npm init -y
Install drizzle
npm i drizzle
I get following error:
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/bin/node /usr/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/salvobee/.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 1
npm ERR! npm ERR! The git reference could not be found
npm ERR! npm ERR! command git --no-replace-objects checkout 4.0
npm ERR! npm ERR! error: pathspec '4.0' did not match any file(s) known to git
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! /home/salvobee/.npm/_logs/2021-11-30T09_45_40_746Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR! /home/salvobee/.npm/_logs/2021-11-30T09_45_41_338Z-debug.log
Murf commented
Same here