cordova-android icon indicating copy to clipboard operation
cordova-android copied to clipboard

Received type string ('ERR_UNHANDLED_ERROR')

Open Priyank010 opened this issue 9 months ago • 2 comments

Bug Report

I am using Quasar Framework and I was creating andoid app using "quasar build -m android -- -- --packageType=bundle". It started giving error so I remove android and cordova both. Now after installing cordova, I am Not able to add android platfrom when I run the command "cordova platform add android@latest"

Problem

TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ERR_UNHANDLED_ERROR') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at C:\Users\User\AppData\Roaming\npm\node_modules\cordova\bin\cordova:32:22

Command or Code

image

Environment, Platform, Device

Windows maching

Version information

Cordova CLI : 12.0.0 ([email protected]) Gradle : 6.5 node : v20.15.1

Checklist

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

Priyank010 avatar Jan 08 '25 14:01 Priyank010