gpt4 book ai didi

cordova - 类型错误 : Cannot read property 'pipesCount' of undefined

转载 作者:行者123 更新时间:2023-12-04 02:04:52 25 4
gpt4 key购买 nike

我正在使用 ionic 构建一个混合应用程序并更新了所有内容。

global packages:

@ionic/cli-utils : 1.2.0
Cordova CLI : 7.0.1
Ionic CLI : 3.2.0

local packages:

@ionic/app-scripts : 1.3.7
@ionic/cli-plugin-cordova : 1.2.1
@ionic/cli-plugin-ionic-angular : 1.2.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.3.0

System:

Node : v8.0.0
OS : macOS Sierra
Xcode : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.1
ios-sim : 5.0.13

我安装了我的 android 和 ios 平台,然后运行“ionic cordova resources”来安装我的新图标和启动画面。我正在尝试运行“ ionic 上传”,但出现此错误:

`Running app-scripts build: 

[15:06:57] build dev started ...
[15:06:57] clean started ...
[15:06:57] clean finished in 2 ms
[15:06:57] copy started ...
[15:06:57] transpile started ...
[15:07:00] transpile finished in 2.82 s
[15:07:00] preprocess started ...
[15:07:00] deeplinks started ...
[15:07:00] deeplinks finished in 23 ms
[15:07:00] preprocess finished in 24 ms
[15:07:00] webpack started ...
[15:07:00] copy finished in 3.13 s
[15:07:09] webpack finished in 9.33 s
[15:07:09] sass started ...
[15:07:11] sass finished in 1.45 s
[15:07:11] postprocess started ...
[15:07:11] postprocess finished in 13 ms
[15:07:11] lint started ...
[15:07:11] build dev finished in 13.74 s

_stream_readable.js:545
switch (state.pipesCount) {
^

TypeError: Cannot read property 'pipesCount' of undefined
at module.exports.Readable.pipe (_stream_readable.js:545:16)
at module.exports.ZipArchiveOutputStream._smartStream (/usr/local/lib/node_modules/ionic/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js:184:11)
at module.exports.ZipArchiveOutputStream._appendStream (/usr/local/lib/node_modules/ionic/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js:96:20)
at module.exports.ArchiveOutputStream.entry (/usr/local/lib/node_modules/ionic/node_modules/compress-commons/lib/archivers/archive-output-stream.js:88:10)
at module.exports.ZipStream.entry (/usr/local/lib/node_modules/ionic/node_modules/zip-stream/index.js:138:49)
at Zip.append (/usr/local/lib/node_modules/ionic/node_modules/archiver/lib/plugins/zip.js:53:15)
at Archiver._moduleAppend (/usr/local/lib/node_modules/ionic/node_modules/archiver/lib/core.js:172:16)
at Archiver._onQueueTask (/usr/local/lib/node_modules/ionic/node_modules/archiver/lib/core.js:370:8)
at /usr/local/lib/node_modules/ionic/node_modules/async/dist/async.js:4045:9
at process (/usr/local/lib/node_modules/ionic/node_modules/async/dist/async.js:2316:17)`

关于如何解决这个问题有什么想法吗?

**更新:我运行了“ionic package build android”并获得了一些新信息

(节点:18146)UnhandledPromiseRejectionWarning:未处理的 promise 拒绝(拒绝 ID:1):错误 [ERR_IPC_CHANNEL_CLOSED]: channel 已关闭
(节点:18146)[DEP0018] DeprecationWarning:未处理的 promise 拒绝已弃用。将来,未处理的 promise 拒绝将以非零退出代码终止 Node.js 进程。

最佳答案

https://nodejs.org/en/ 安装 node@6 当前 lts

关于cordova - 类型错误 : Cannot read property 'pipesCount' of undefined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44278093/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com