GeezerVison is showing github.com — Error while loading nativescript-cloud is: Default commands should be required before child commands · Issue #5404 · NativeScript/nativescript-cli
Error while loading nativescript-cloud is: Default commands should be required before child commands #5404Descriptionrunning latest CLI ... Sept 30th build
ns -v = 7.0.9-2020-09-30-180843-14270
running - tns debug android --env.aot --no-hmr --emulator
Error while loading nativescript-cloud is: Default commands should be required before child commands Activitychanged the title [-]CLI gives error Error while loading nativescript-cloud when trying to tun tns[/-] [+]CLI gives error Error while loading nativescript-cloud when trying to run tns[/+] on Oct 1, 2020rigor789 commented on Oct 3, 2020 The command should continue running despite the error. Will be looking into why it happens. Reacted by Luke Hardiman, Pedro Marins, Till Sanders, Johnny Jarecsni, Amjad Abujamous, J.D Nicholls, James Roome and Paweł rigor789 commented on Oct 21, 2020 Ok, the issue is that if you have nativescript-cloud installed on your system (from older cli for example), it adds conflicting commands to the CLI and causes the issue. In particular it adds config get/set commands that are now in the CLI by default.
Since nativescript-cloud in it's current form is not used - you can safely uninstall it with
ns extension uninstall nativescript-cloud
And the error should disappear. Reacted by MrSnoozles, Luke Hardiman, Raef Akehurst, Nigel M Peters, Motyldrogi, David Kroese, Marco Marques, mrh1997, Kunal Deshmukh, Kunal Deshmukh and 17 more changed the title [-]CLI gives error Error while loading nativescript-cloud when trying to run tns[/-] [+]Error while loading nativescript-cloud is: Default commands should be required before child commands[/+] on Oct 21, 2020MrSnoozles commented on Oct 21, 2020 Reacted by Igor Randjelovic DavidKroese commented on Oct 29, 2020 Uninstalling the nativescript-cloud worked for me too! jdnichollsc commented on Oct 30, 2020 ns extension uninstall nativescript-cloud doesn't work for me (command not found: ns), exist any other command to remove extensions?
Thanks!
rigor789 commented on Oct 30, 2020 @jdnichollsc tns extension uninstall nativescript-cloud perhaps? Though if ns doesn't exist on your machine, you are likely using an old version of the CLI that should not have the error in the first place... (i'm confused) Reacted by J.D Nicholls Reacted by J.D Nicholls Reacted by J.D Nicholls jdnichollsc commented on Oct 30, 2020 Oh excellent, it's working now! thanks for your help! <3 Reacted by Igor Randjelovic mmarquesbr commented on Nov 4, 2020 Perfectly working now! Thanks! ;o) lostation commented on Jan 17, 2021 Mmm I've just upgraded from NS6 to NS7.1.2 and for me it doesn't seem to work...
Strange ... any command give me this error... except the simple ns --version... Obviously I've tried... ns, tns --> same error.
Is there another way to remove Nativescript-cloud ?
The migration script shouldn't remove it if it unused with new version ? lostation commented on Jan 17, 2021 Ok simply from another terminal...tns (or ns) extension uninstall nativescript-cloud has worked. Cheers!
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|