-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: check for old version of the CLI on empty project #2178
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.configFilePath
will returnnull
.null
is not valid argument forreadFileSync
There was
TypeError: path must be a string or Buffer
#2135