Closed nakanoasaservice closed 3 months ago
@nakanoasaservice I'm not sure what the fix here would be. The program is letting you know that parsing the version failed, since that field is being used wrong. If we masked the error, then the user wouldn't ever know about it.
IMO something like this would at least be better:
"engines": {
"node": "20.x",
"_npm": "Don't use 'npm'!!! Please use 'pnpm'!!!",
"_yarn": "Don't use 'yarn'!!! Please use 'pnpm'!!!"
},
After thinking about this for a while, I think erroring is still the best course of action.
What version?
0.34.3
Which command?
proto use --log trace
What happened?
.prototools
config is:After investigating, I found that the cause was the following specification for engines in package.json.
Trace logs?
Operating system?
MacOS
Architecture?
arm64