-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
Observations
Following the getting started, when running the yarn best
command the CLI throws the following error:
ERROR Error: Unable to read git information
at generateProjectConfigs (/Users/p.dartus/code/github/pmdartus/benchmark-ci-test/node_modules/@best/config/build/index.js:10:19)
at readConfig (/Users/p.dartus/code/github/pmdartus/benchmark-ci-test/node_modules/@best/config/build/index.js:68:45)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
Does best should absolutely require to be run in a git enabled directory? If it is the case then the documentation needs to be updated.
Update:
I took me multiple attempts to make the best CLI happy:
- after running
git init
, best requires at least 1 commit on the master branch. - after running
git commit
, best requires at least a remote to be present. - after adding a remote, best is still not happy here. I created a specific issue for this error git remote URL regexp is too restrictive #185
Versions
- node:
10.16.0
- best:
4.0.0-alpha4