question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'tns update 5.0.3' fails with useless error

See original GitHub issue

@lonerzzz commented on Thu Nov 22 2018

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.0.1
  • Android Runtime: 5.0.0
  • iOS Runtime: 5.0.0

Describe the bug Running ‘tns update 5.0.3’ fails with the error ‘Could not update the project!’. The output should state the cause of the update failure or point to logs that can tell what is happening. As it is, there is no indication of the cause of the error.

Expected behavior A useful error should be presented to allow user to investigate the cause of the error instead of having to guess.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DimitarTachevcommented, Nov 22, 2018

@lonerzzz, the version argument is based on the NativeScript CLI version.

You are getting this error because NativeScript CLI 5.0.3 is not a valid version (it’s not released yet). I suggest you use just tns update without specifying a version. In this way, it will install the latest versions of the CLI (5.0.1), the core modules (5.0.3) and the runtimes (5.0.0).

0reactions
rosen-vladimirovcommented, May 22, 2019

Closing this as there’s no activity on it for the last several months

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nativescript-angular tns run fail with ERROR Error: Can't ...
Nativescript-angular tns run fail with ERROR Error: Can't resolve all parameters for ApplicationModule - Stack Overflow. Stack Overflow for ...
Read more >
Fixing Mac OS X Install Errors “can't be verified ... - OSXDaily
Fix macOS "Installation failed, An error occurred while installing the selected updates" Errors.
Read more >
Useless against Fatal Errors - [Rollback Update Failure] Review
When a plugin update succeeds, but the new version causes a Fatal Error (like what recently happened with WP Crontrol version 1.13. x),...
Read more >
Untitled
Meibuhr, Wife 1.0 girlfriend 5.0, 3 halloween songs, Chitra's daughter nandana died ... Old love failure songs in hindi, Android vs windows 8...
Read more >
Bug #465: Problem With DIVA 8 and Reverting to Previous DIVA ...
The software itself does not have an issue while running and collecting data from the connected cytometer, in this case an LSRII and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found