Skip to content

Received type string ('ERR_UNHANDLED_ERROR') #1757

@Priyank010

Description

@Priyank010

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions