Skip to content

v3-beta7: Running ionic start without ionic login first ends with error, no "go to directory" message #2097

@janpio

Description

@janpio

What version of the CLI are you using? Output of ionic --version

3.0.0-beta7

Short description of the problem:

Calling ionic start without ionic login first ends with error, no "go to directory" message:

> ionic start
? What would you like to name your project: cliBeta7
? What starter would you like to use: blank
✔ Creating directory C:\Users\Jan\Documents\cliBeta7 - done!
✔ Downloading 'blank' starter template - done!
✔ Updating project dependencies to add required plugins - done!
✔ Creating configuration file for the new project - done!
✔ Executing: npm install within the newly created project directory - done!

♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫

Run your app in the browser (great for initial development):
  ionic serve

Run on a device or simulator:
  ionic cordova:run ios

Test and share your app on a device with the Ionic View app:
  http://view.ionic.io

[ERROR] You are not logged in! Run 'ionic login'.

If I run any of the output commands, I will get an error as I am not in the correct directory.

What behavior are you expecting?

Better flow, probably even interactive UI to login or signup - or skip. If you are already logged in you get this much better experience:

> ionic start cliBeta7_2 blank
✔ Creating directory C:\Users\Jan\Documents\cliBeta7_2 - done!
✔ Downloading 'blank' starter template - done!
✔ Updating project dependencies to add required plugins - done!
✔ Creating configuration file for the new project - done!
✔ Executing: npm install within the newly created project directory - done!

♬ ♫ ♬ ♫  Your Ionic app is ready to go! ♬ ♫ ♬ ♫

Run your app in the browser (great for initial development):
  ionic serve

Run on a device or simulator:
  ionic cordova:run ios

Test and share your app on a device with the Ionic View app:
  http://view.ionic.io

? Link this app to your Ionic Dashboard to use tools like Ionic View? No
? Would you like to help Ionic improve the CLI by providing anonymous usage and error reporting information? Yes

Go to your newly created project: cd C:\Users\Jan\Documents\cliBeta7_2

Steps to reproduce:

  1. Install the v3-beta7 CLI
  2. Execute ionic start

Post the output of ionic info below please

  Your system information:
    Cordova CLI: Not installed
    Ionic Framework Version: 3.0.1
    Ionic CLI Version: 3.0.0-beta7
    ios-deploy version: Not installed
    ios-sim version: Not installed
    OS: Windows 10
    Node Version: v7.9.0
    Xcode version: Not installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions