You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a nit, not at all breaking functionality bug. Just thought I would note it.
The warning warning np@7.6.2: The engine "git" appears to be invalid. is displayed when installing np.
I think listing git version in the engines field of package.json is a clever and appropriate place for the listing. Would be nice if there was not a warning for it. Could be cool to see it tacked on to an upstream issue on npm.
np decided to extend package.json and Yarn decided to validate it. 😅 I don’t think we'll reach an agreement on that
fregante
changed the title
NIT: warning np@7.6.2: The engine "git" appears to be invalid.
NIT: Yarn warning np@7.6.2: The engine "git" appears to be invalid.
Feb 3, 2023
Description
This is a nit, not at all breaking functionality bug. Just thought I would note it.
The warning
warning np@7.6.2: The engine "git" appears to be invalid.
is displayed when installingnp
.I think listing git version in the
engines
field ofpackage.json
is a clever and appropriate place for the listing. Would be nice if there was not a warning for it. Could be cool to see it tacked on to an upstream issue on npm.Steps to reproduce
yarn add --dev np
Expected behavior
No warning
Environment
np - ^7.6.2
Node.js - v16.13.0
npm - 8.1.0
Git - 2.25.1
OS - Ubuntu 20.04.5 LTS (WSL2)
The text was updated successfully, but these errors were encountered: