apache / apache/cordova-cli

splash art causes unhelpful error traces

Open
#634 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
967
Forks
344
Avg merge
8h 41m
Merged PRs (30d)
9

Description

# 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](https://github.com/apache/cordova-cli/assets/20880060/a28e1ebf-1c98-4164-9d7d-fb6634882db3)

### 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

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `cordova platform add electron` with Node v20.10.0, Cordova 12.0.0 on Windows 11, then inspect the error shown in the linked screenshot and the resulting corrupted install. Done means the platform and plugins install successfully and failures provide a useful error trace.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, node.js
Domain
cli, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.