apache / cordova-cli

Apache Cordova CLI
Apache License 2.0
930 stars 338 forks source link

splash art causes unhelpful error traces #634

Open Earu opened 4 months ago

Earu commented 4 months ago

Bug Report

Problem

As of today I cannot add platforms, build them or do anything else with Cordova I always get this no matter what command I'm using: image

What is expected to happen?

Platform should be added along with the plugins.

What does actually happen?

Command launches but errors mid-way resulting in a corrupted install.

Information

It just started happening today semi-randomly.

Command or Code

cordova platform add electron

Environment, Platform, Device

node v20.10.0 cordova 12.0.0 (cordova-lib@12.0.1) Windows 11 Pro 23H2 22631.3078 visual studio code 1.85.2 electron 17.0.0

Checklist

Earu commented 4 months ago

Turns out it has to do with the splash art image being too small ...? Regardless of the actual problem I think the CLI could do a better job of highlighting what's wrong; even using --verbose wasn't really helpful in this case.