Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInstallation fails for dependencies which do not contain a package.json #1866
Comments
|
Seems like Yarn supports it but npm does not. I have no objections to supporting this in pnpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I tried to install with a dependency which is a git repo and does not contain a
package.jsonfile, the installation fails.Link to relevant github repository: https://github.com/jeremyjs/Open-API-2.0-protobuf-messages
Suggested fix is to check for the existence of a
package.jsonand simply print a warning rather than failing hard.pnpm version: