"ionic start" gets stuck at 100% downloading starter
See original GitHub issueDescription:
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:
- Created 4 years ago
- Reactions:9
- Comments:53 (12 by maintainers)
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
This will update you to the latest minipass release.
We’re following things over here
https://github.com/isaacs/minipass/issues/9
We need minipass to update