-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: TAR_BAD_ARCHIVE: Unrecognized archive format #4454
Comments
Same error with Ionic CLI: 6.10.0 |
I'm also facing same issue. Ionic: Utility: System: |
The issue doesn't seems to be with ionic/cli. I think I may have messed with OS settings. Logged in to Windows with the new account and tried to create a new project with v6.10.1. It worked, no issue. |
Same error with Ionic CLI: 6.10.1 |
I am seeing this issue as well. |
Same error with Ionic CLI: 6.10.1 |
Can you send log with --verbose? |
Got same error. UPD: Yes, it seems that it some local issue, because I don't see any proxies in logs from other device. Ionic: Ionic CLI : 6.11.7 (/usr/local/lib/node_modules/@ionic/cli) Utility: cordova-res (update available: 0.15.2) : 0.15.1 System: NodeJS : v10.16.0 (/usr/local/bin/node) |
Found a solution that worked for me: https://forum.ionicframework.com/t/cannot-complete-ionic-start-command/183584/3 Check if you set a proxy with ionic config get proxy -g ionic config unset proxy -g |
Description:
when I try to create a new project, I get a tar error when it downloads and extracts.
Steps to Reproduce:
ionic start app sidemenu
Output:
? Framework: Angular
✔ Preparing directory ./iga - done!
⠴ Downloading and extracting sidemenu starter (100.00%)
events.js:287
throw er; // Unhandled 'error' event
^
Error: TAR_BAD_ARCHIVE: Unrecognized archive format
at Unpack.warn (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/warn-mixin.js:19:40)
at Unpack.warn (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/unpack.js:188:18)
at Unpack. (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:82:14)
at Unpack.emit (events.js:322:22)
at Unpack.[emit] (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:286:12)
at Unpack.[maybeEnd] (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:402:17)
at Unpack.[consumeChunk] (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:434:21)
at Unpack.write (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:365:25)
at Unpack.end (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:479:14)
at IncomingMessage.onend (_stream_readable.js:660:10)
Emitted 'error' event on Unpack instance at:
at errorOrDestroy (internal/streams/destroy.js:108:12)
at Unpack.onerror (_stream_readable.js:729:7)
at Unpack.emit (events.js:310:20)
at Unpack.warn (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/warn-mixin.js:19:12)
at Unpack.warn (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/unpack.js:188:18)
[... lines matching original stack trace ...]
at Unpack.[consumeChunk] (/usr/local/lib/node_modules/@ionic/cli/node_modules/tar/lib/parse.js:434:21) {
recoverable: false,
cwd: '/Users/austinhunter/iga',
code: 'TAR_BAD_ARCHIVE',
tarCode: 'TAR_BAD_ARCHIVE'
My
ionic info
:Other Information:
The text was updated successfully, but these errors were encountered: