cordova-cli
cordova-cli copied to clipboard
CLI Process.Exit code error - The "code" argument must be of type number. Received type string ('ERR_INVALID_ARG_TYPE')
Problem
While using plugin - https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent & trying to generate android build.
I am facing below error :
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ERR_INVALID_ARG_TYPE') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at /usr/lib/node_modules/cordova/bin/cordova:32:22
Any suggestion ?
Please remove the folders node_modules, platforms and plugins and try again