GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #5404

New issue
Copy link
New issue
Copy link
Open
Open
Error while loading nativescript-cloud is: Default commands should be required before child commands#5404
Copy link
Labels
cloudDescribes issues related to cloud operationsDescribes issues related to cloud operations

Description

@abcfoundry
abcfoundry
opened on Oct 1, 2020
Issue body actions

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. abcfoundry
    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. rigor789
    added
    bug
    cloudDescribes issues related to cloud operationsDescribes issues related to cloud operations
    on Oct 3, 2020
  3. rigor789 commented on Oct 3, 2020

    @rigor789
    rigor789
    on Oct 3, 2020
    Member
    More actions

    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ł
  4. rigor789
    modified the milestone: 7.0.11 on Oct 16, 2020
  5. rigor789 commented on Oct 21, 2020

    @rigor789
    rigor789
    on Oct 21, 2020
    Member
    More actions

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

    @MrSnoozles
    MrSnoozles
    on Oct 21, 2020
    More actions

    This worked for me.

    Reacted by Igor Randjelovic
  10. DavidKroese commented on Oct 29, 2020

    @DavidKroese
    DavidKroese
    on Oct 29, 2020
    More actions

    Uninstalling the nativescript-cloud worked for me too!

  11. jdnichollsc commented on Oct 30, 2020

    @jdnichollsc
    jdnichollsc
    on Oct 30, 2020
    More actions

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

  12. rigor789 commented on Oct 30, 2020

    @rigor789
    rigor789
    on Oct 30, 2020
    Member
    More actions

    @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
  13. jdnichollsc commented on Oct 30, 2020

    @jdnichollsc
    jdnichollsc
    on Oct 30, 2020
    More actions

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

    Reacted by Igor Randjelovic
  14. mmarquesbr commented on Nov 4, 2020

    @mmarquesbr
    mmarquesbr
    on Nov 4, 2020
    More actions

    Perfectly working now! Thanks! ;o)

  15. lostation commented on Jan 17, 2021

    @lostation
    lostation
    on Jan 17, 2021
    More actions

    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 ?

  16. lostation commented on Jan 17, 2021

    @lostation
    lostation
    on Jan 17, 2021
    More actions

    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 operationsDescribes 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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.