Skip to content

tns run android Invalid Version: ^6.5.3 #5500

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

Closed
donker opened this issue Feb 22, 2021 · 3 comments · Fixed by #5501
Closed

tns run android Invalid Version: ^6.5.3 #5500

donker opened this issue Feb 22, 2021 · 3 comments · Fixed by #5501
Labels

Comments

@donker
Copy link

donker commented Feb 22, 2021

Environment

  • CLI: 7.2.0
  • Cross-platform modules: 7.1.0
  • Android Runtime: 6.5.3
  • ns-Angular: 11.0.0

Describe the bug
When running tns prepare android or run android, the result is:

Error while loading nativescript-cloud is: Default commands should be required before child commands
Preparing project...
Invalid Version: ^6.5.3

I've tried 7.01 but the result is the same.

To Reproduce
Type "tns prepare ios" with the versions above.

Expected behavior
Builds project

Additional context
iOS builds without a problem.

@rigor789
Copy link
Member

Can you try without the ^ - just edit package.json and remove the caret & re-run.

@rigor789 rigor789 transferred this issue from NativeScript/android Feb 22, 2021
@donker
Copy link
Author

donker commented Feb 22, 2021

O wow. OK, that worked. I'm baffled as to how that is possible. But happy that it works! Thanks @rigor789

@donker donker closed this as completed Feb 22, 2021
@rigor789
Copy link
Member

I'll reopen this - as this is something that the CLI should handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants