Visitar URL original
Error while loading nativescript-cloud is: Default commands should be required before child commands · Issue #5404 · NativeScript/nativescript-cli · GitHub
Skip to content

Error while loading nativescript-cloud is: Default commands should be required before child commands #5404

Description

@abcfoundry

running 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

Activity

  1. changed 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, 2020
  2. added
    cloudDescribes issues related to cloud operations
    on Oct 3, 2020
  3. rigor789 commented on Oct 3, 2020

    @rigor789
    Member

    The command should continue running despite the error. Will be looking into why it happens.

  4. modified the milestone: 7.0.11 on Oct 16, 2020
  5. rigor789 commented on Oct 21, 2020

    @rigor789
    Member

    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.

  6. 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, 2020
  7. pinned this issue on Oct 21, 2020
  8. MrSnoozles commented on Oct 21, 2020

    @MrSnoozles

    This worked for me.

  9. DavidKroese commented on Oct 29, 2020

    @DavidKroese

    Uninstalling the nativescript-cloud worked for me too!

  10. jdnichollsc commented on Oct 30, 2020

    @jdnichollsc

    ns extension uninstall nativescript-cloud doesn't work for me (command not found: ns), exist any other command to remove extensions?
    Thanks!

  11. rigor789 commented on Oct 30, 2020

    @rigor789
    Member

    @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)

  12. jdnichollsc commented on Oct 30, 2020

    @jdnichollsc

    Oh excellent, it's working now! thanks for your help! <3

  13. mmarquesbr commented on Nov 4, 2020

    @mmarquesbr

    Perfectly working now! Thanks! ;o)

  14. lostation commented on Jan 17, 2021

    @lostation

    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 ?

  15. lostation commented on Jan 17, 2021

    @lostation

    Ok simply from another terminal...tns (or ns) extension uninstall nativescript-cloud has worked. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cloudDescribes issues related to cloud operations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions