gpt4 book ai didi

cordova - Ionic cordova 资源 --splash 和 --icon 错误

转载 作者:行者123 更新时间:2023-12-02 06:54:31 34 4
gpt4 key购买 nike

我在资源生成器上遇到此错误:
错误:end()已经被调用,所以现在开始管道传输已经太晚了

我遇到了这个错误。当我尝试生成资源时出现:

PS F:\Desenvolvimento\Ionic\Divas> ionic cordova resources ios -f
√ Collecting resource configuration and source images - done!
√ Filtering out image resources that do not need regeneration - done!
√ Uploading source images to prepare for transformations: 2 / 2 complete - done!
- Generating platform resources: 8 / 32 complete
C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:859
throw Error("end() has already been called, so it's too late to start piping");
^

Error: end() has already been called, so it's too late to start piping
at Response.response.pipe (C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:859:13)
at Request.req.type.send.on.res (C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic\lib\integrations\cordova\resources.js:166:25)
at Request.emit (events.js:182:13)
at Request._emitResponse (C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:862:8)
at ClientRequest.req.once.res (C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:412:10)
at Object.onceWrapper (events.js:273:13)
at ClientRequest.emit (events.js:187:15)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at TLSSocket.socketOnData (_http_client.js:442:20)

我的系统:

Ionic:

ionic (Ionic CLI) : 4.7.1 (C:\Users\Gustavo\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : not installed
Cordova Platforms : android 6.3.0
Cordova Plugins : cordova-plugin-ionic-webview 1.1.1, (and 8 other plugins)

System:

NodeJS : v10.15.0 (C:\Program Files\nodejs\node.exe)
npm : 6.5.0
OS : Windows 10

最佳答案

我的图像尺寸似乎不正确。我创建了一个更大尺寸的新图像并且它起作用了。奇怪的是没有任何消息。

关于cordova - Ionic cordova 资源 --splash 和 --icon 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54155176/

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