Closed woshilapin closed 7 years ago
It's even worst that just --version
not working because it's trying to read the package.json
file which doesn't exists...
OK, this --version
command is making the whole program going crazy. For now, removing it because it's causing blocking bugs only for a version number.
This option works if you run it from the development environment with
npm run start -- --version
because the filepackage.json
is present and because the relative path./package.json
is correct. However, it doesn't work from thenpm
global installation because the filepackage.json
is not installed.