question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"ionic start" gets stuck at 100% downloading starter

See original GitHub issue

Description:

When I try generate a new Ionic project, my CLI command gets to “Downloading and extracting <template> starter (100%)” and then just sits there, the spinner endlessly spinning and nothing else happening.

I noticed this issue a few days back, and I’ve tried numerous things to try get around it, including force clearing NPM cache, uninstalling/reinstalling packages and even NodeJS itself, but the same problem persists.

I’ve also tried this in multiple different CLI environments (I use Terminus with Git Bash by default, but I get the same issue directly in CMD and PowerShell).

In each case, I’ve left the command to run for well over 30 minutes, but absolutely nothing changes.

Steps to Reproduce:

Run the command ionic start,

Output:

$ ionic start hello-world sidemenu --verbose
  ionic:lib Terminal info: { ci: false, shell: 'C:\\Program Files\\Git\\usr\\bin\\bash.exe', tty: true, windows: true } +0ms
  ionic:lib CLI global options: { _: [ 'start', 'hello-world', 'sidemenu' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, project: null, '--': [] } +10ms
  ionic Context: { binPath: 'C:\\Users\\agreeff\\AppData\\Roaming\\npm\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\agreeff\\AppData\\Roaming\\npm\\node_modules\\ionic', execPath: 'D:\\workspace\\sandbox', version: '5.2.8' } +0ms
  ionic:lib:telemetry Sending telemetry for command: 'ionic start' [ 'hello-world',
  ionic:lib:telemetry   'sidemenu',
  ionic:lib:telemetry   '--verbose',
  ionic:lib:telemetry   '--interactive',
  ionic:lib:telemetry   '--color',
  ionic:lib:telemetry   '--project-id=hello-world' ] +0ms
√ Preparing directory .\hello-world - done!
  ionic:commands:start Tar extraction created for D:\workspace\sandbox\hello-world +0ms
  superagent GET https://d2ql0qc7j8u4b2.cloudfront.net/angular-official-sidemenu.tar.gz +0ms
/ Downloading and extracting sidemenu starter
/ Downloading and extracting sidemenu starter (100.00%)

My ionic info:

Note: this only shows global info because I’m obviously not in a project here…

Ionic:

   Ionic CLI : 5.2.8

Utility:

   cordova-res : 0.6.0
   native-run  : 0.2.7 (update available: 0.2.8)

System:

   NodeJS : v10.15.1
   npm    : 6.11.3
   OS     : Windows 10

Other Information:

Any requests for more info?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:53 (12 by maintainers)

github_iconTop GitHub Comments

21reactions
mhartingtoncommented, Sep 17, 2019

Hey everyone, looks like the issue was in a dep of a dep, minipass.

https://github.com/isaacs/minipass/commit/1d5623a62ba8f64753a5d5ec9a665789000db858

They’ve released a fix, so you should be able to do

npm uninstall -g ionic
npm install -g ionic

This will update you to the latest minipass release.

6reactions
mhartingtoncommented, Sep 23, 2019

We’re following things over here

https://github.com/isaacs/minipass/issues/9

We need minipass to update

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloading and extracting blank starter - failed! - Ionic Forum
I just installed globally and wanted to launch the project just like other beginners, but others have no problems and I have something...
Read more >
Ionic app creation gets stuck at “ionic start app_name tabs”
I am new to ionic framework, facing below issue while creating first app. **i am working behind corporate proxy -> command executed “ionic...
Read more >
Ionic Deep Cycle Battery Manual - LithiumHub
Starter batteries have higher current cells and a Battery. Management System (BMS) designed to handle the higher current required to start a vehicle...
Read more >
Troubleshooting Android Issues | Capacitor Documentation
Troubleshooting Android Issues. Creating a 100% perfect native management tool is nearly impossible, and sooner or later you'll run into various issues with ......
Read more >
How to Get Started with FPV Drone - Oscar Liang
This beginner tutorial explains how to get started with FPV drone, the basics of buying, building and flying and racing a FPV drone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found