Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Unable to create a new app from CLI after npm install -g ionic
Post Body

Hi,

I've just updated my CLI and now I can't create anything using ionic start. Has anyone else come across this?

I have tried a V3 and V4 app and both had the same error message. I have seen a few issues for minizlib but they all seem to relate to ionic server rather than this

localhost:www leigh$ ionic start

[INFO] You are about to create an Ionic 3 app. Would you like to try the release candidate for Ionic 4?

Ionic 4 uses the power of the modern Web and embraces the Angular CLI and Angular Router to bring you the best

version of Ionic ever. See our blog announcement[1] and documentation[2] for more information. We'd love to hear

your feedback on our latest version!

[1]: https://blog.ionicframework.com/ionic-framework-4-0-rc-shipped-paving-way-for-final

[2]: https://beta.ionicframework.com/docs/

? Try Ionic 4? No

Every great app needs a name! 😍

Please enter the full name of your app. You can change this at any time. To bypass this prompt next time, supply name,

the first argument to ionic start.

? Project name: test-ionic

? ./test-ionic exists. Overwrite? Yes

Let's pick the perfect starter template! 💪

Starter templates are ready-to-go Ionic apps that come packed with everything you need to build your app. To bypass this

prompt next time, supply template, the second argument to ionic start.

? Starter template: tabs

✔ Preparing directory ./test-ionic - done!

(node:2406) ExperimentalWarning: The http2 module is an experimental API.

Downloading and extracting tabs starter (100.00%)

events.js:136

throw er; // Unhandled 'error' event

^

ZlibError: zlib: Cannot read property 'length' of null

at Unzip.Zlib.(anonymous function) (/Users/leigh/npm/lib/node_modules/ionic/node_modules/minizlib/index.js:126:21)

at Unzip.write (/Users/leigh/npm/lib/node_modules/ionic/node_modules/minizlib/index.js:247:21)

at Unzip.flush (/Users/leigh/npm/lib/node_modules/ionic/node_modules/minizlib/index.js:206:10)

at Unzip.end (/Users/leigh/npm/lib/node_modules/ionic/node_modules/minizlib/index.js:213:10)

at Unpack.end (/Users/leigh/npm/lib/node_modules/ionic/node_modules/tar/lib/parse.js:416:21)

at IncomingMessage.onend (_stream_readable.js:598:10)

at Object.onceWrapper (events.js:254:19)

at IncomingMessage.emit (events.js:164:20)

at endReadableNT (_stream_readable.js:1054:12)

at _combinedTickCallback (internal/process/next_tick.js:138:11)

localhost:www leigh$

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
691
Link Karma
293
Comment Karma
398
Profile updated: 2 days ago
Posts updated: 2 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago