Running CLI and commands without package.json throws errors
JamesLMilner opened this issue · 0 comments
JamesLMilner commented
Enhancement
When dojo
or associated commands are run in a directory without a package.json
file, the CLI throws errors such as Path must be a string. Received null
Package Version: 3.0.0
Code
dojo
or dojo init
in any directory without a package.json
Expected behavior:
The CLI to either behave as best as possible or give a meaningful error message if not.
Actual behavior:
Unhelpful end user errors