fix: check for old version of the CLI on empty project#2178
fix: check for old version of the CLI on empty project#2178ValeryVS wants to merge 1 commit intoangular:masterfrom
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
I signed it! |
|
CLAs look good, thanks! |
|
This error was with node 6.5.0 |
|
just updated to node 6.6.0, same errors |
|
Putting this PR on hold until we can figure out what's happening in #2135. |
|
When there is no using _findup function |
|
Can you please merge this PR. It's really annoying to not be able to use the new command. If I create the missing angular-cli.json file as a workaround I get the error: |
ee1d0c8 to
6772797
Compare
|
Rebased to master |
|
@ValeryVS thanks for the explanation and fix for this issue. Can you add a test to ensure we don't run into it again? You can add it in |
|
Thanks @ValeryVS to solve it ! |
|
I amended your commit with said test and pushed it to master. Thanks! |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
On empty project, when config files are not exists
CliConfig.configFilePathwill returnnull.nullis not valid argument forreadFileSyncThere was
TypeError: path must be a string or Buffer#2135