[英]Getting error during Ionic, Its not working when try to start new app (ionic version 4.8.0)
Trying a lot about below 在下面尝试很多
ionic start helloWorld blank
Getting error with above after start with ionic 从离子开始后出现上述错误
(node:53519) ExperimentalWarning: The http2 module is an experimental API.
⠹ Downloading and extracting blank starter (100.00%)
events.js:193
throw er; // Unhandled 'error' event
^
ZlibError: zlib: Cannot read property 'length' of null
at Unzip.Zlib.(anonymous function) (/Users/ahmadkhan/.nvm/versions/node/v9.0.0/lib/node_modules/ionic/node_modules/minizlib/index.js:126:21)
at Unzip.write (/Users/XXXX/.nvm/versions/node/v9.0.0/lib/node_modules/ionic/node_modules/minizlib/index.js:247:21)
at Unzip.flush (/Users/XXXX/.nvm/versions/node/v9.0.0/lib/node_modules/ionic/node_modules/minizlib/index.js:206:10)
at Unzip.end (/Users/XXXX/.nvm/versions/node/v9.0.0/lib/node_modules/ionic/node_modules/minizlib/index.js:213:10)
at Unpack.end (/Users/XXXX/.nvm/versions/node/v9.0.0/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:322:30)
at emitNone (events.js:120:20)
at IncomingMessage.emit (events.js:218:7)
at endReadableNT (_stream_readable.js:1054:12)
I got it with some research, issue was Node version (9.0.0) with latest ionic (4.8.0) I believe, after upgrading my Node (v10.15.0) its started working fine. 我进行了一些研究,发现它是Node版本(9.0.0)和最新的ionic(4.8.0),我相信,在升级Node(v10.15.0)之后,它可以正常工作。 Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.