ionic-team / ionic-team/ionic-cli

Ionic Resources splash too large.

未关闭
#2,780 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

When generating a splash with `ionic cordova resources -s` I get the following error:

```
✔ Filtering out image resources that do not need regeneration - done!
✖ Uploading source images to prepare for transformations - failed!
HTTP Error 400: POST https://res.ionic.io/api/v1/upload
{"Error":"image too large: 27528755","Width":0,"Height":0,"Type":"","Vector":false}
```

Changing the resolution any smaller results in an error that it is too small for the devices.

Ionic Info:
```
cli packages: (/Users/redacted/Desktop/Barjs/node_modules)

@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@ionic/app-scripts : 1.2.5
Cordova Platforms : ios 4.4.0
Ionic Framework : ionic-angular 2.3.0

System:

ios-deploy : 1.9.0
ios-sim : 5.0.6
Node : v6.9.2
npm : 3.10.9
OS : macOS Sierra
Xcode : Xcode 9.0 Build version 9A235

Misc:

backend : legacy
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。