volta
volta copied to clipboard
Volta won't pin tools if an empty volta configuration is present
For minimal reproduction:
- Create a new npm package.json
npm init --yes - Edit the package with an empty volta configuration
"volta": {} - Attempt to pin anything with volta
volta pin node - See error:
error: No Node version found in this project.
Expected behaviour:
Volta should pin the default version of node, not throw an error.
Hmph. Thats annoying! Thanks for writing up a good issue with steps to reproduce.