'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:
- Created 5 years ago
- Reactions:5
- Comments:5 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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).Closing this as there’s no activity on it for the last several months