Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIT: Yarn warning np@7.6.2: The engine "git" appears to be invalid. #663

Open
meandavejustice opened this issue Sep 8, 2022 · 1 comment

Comments

@meandavejustice
Copy link

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 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.

Steps to reproduce

  1. 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)

@fregante
Copy link
Collaborator

fregante commented Feb 3, 2023

Related: #406

np decided to extend package.json and Yarn decided to validate it. 😅 I don’t think we'll reach an agreement on that

@fregante 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants