ionic-team / ionic-team/ionic-cli
Ionic Resources splash too large.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 682
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
```
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100