简体   繁体   English

在Ionic期间遇到错误,尝试启动新应用程序(Ionic版本4.8.0)时无法正常工作

[英]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.

相关问题 离子错误,无法启动新应用 - Ionic error, unable to start a new App 使用Angular版本4启动一个新的Ionic 3项目 - Start a new Ionic 3 project with Angular version 4 当我尝试通过whatsapp共享链接时,收到消息**共享失败,请重试** - getting message **sharing failed please try again** in ionic app when I try to share link via whatsapp 我在构建 ionic 应用程序或实时运行时遇到错误 - Iam getting an error when building the ionic app or running it live Ionic 应用程序在初始化完成之前开始工作 - Ionic app start working before initialization is finished 离子应用程序被编译并在构建时出错 - ionic app getting compiled and on building getting error 离子 cordova - Cors 不适用于较新版本的 android,但它适用于 ZC31B32364CE19CA58FCD15068Z7 - Ionic cordova - Cors not working on newer version of android, But its working on android 7 or 6 启动离子项目时出现依赖错误 - when starting ionic project getting dependency error 当我尝试构建我的离子应用程序时,构建gradle中的一个问题 - A problem in the build gradle when i try to build my ionic app 当我尝试启动我的项目时,离子服务不起作用 - Ionic serve not working when i try to launch my project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM