ionic-team / ionic-team/ionic-cli
Ionic Resources splash too large.
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Direção de pesquisa
Start at the `ionic cordova resources -s` command and trace the source-image upload to `https://res.ionic.io/api/v1/upload`. Reproduce the HTTP 400 with an image that meets device resolution requirements; done means valid splash images no longer fail solely because the upload payload is too large.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100