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.
Enhancement
When
dojo
or associated commands are run in a directory without apackage.json
file, the CLI throws errors such asPath must be a string. Received null
Package Version: 3.0.0
Code
dojo
ordojo init
in any directory without apackage.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