You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\PC\MyApp>cordova run android Checking Java JDK and Android SDK versions ANDROID_HOME=undefined (recommended setting) ANDROID_SDK_ROOT=undefined (DEPRECATED) Using Android SDK: C:\Users\PC\AppData\Local\Android\sdk Subproject Path: CordovaLib Subproject Path: app TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ENOENT') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at C:\Users\PC\AppData\Roaming\npm\node_modules\cordova\bin\cordova:32:22 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
#881
Open
5 tasks
MaksBokk2 opened this issue
Apr 12, 2024
· 2 comments
I confirm this is a suspected bug or issue that will affect other users
I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
I have read the documentation thoroughly and it does not help solve my issue.
I have checked that no similar issues (open or closed) already exist.
Current behavior:
Expected behavior:
Steps to reproduce:
Screenshots
Environment information
Cordova CLI version
cordova -v
Cordova platform version
cordova platform ls
Plugins & versions installed in project (including this plugin)
cordova plugin ls
Dev machine OS and version, e.g.
OSX
sw_vers
Windows 10
winver
Runtime issue
Device details
e.g. iPhone X, Samsung Galaxy S8, iPhone X Simulator, Pixel XL Emulator
OS details
e.g. iOS 12.2, Android 9.0
Android build issue:
Node JS version
node -v
Gradle version
ls platforms/android/.gradle
Target Android SDK version
android:targetSdkVersion in AndroidManifest.xml
Android SDK details
sdkmanager --list | sed -e '/Available Packages/q'
iOS build issue:
Node JS version
node -v
XCode version
Related code:
insert any relevant code here such as plugin API calls / input parameters
Console output
console output
// Paste any relevant JS/native console output here
Other information:
The text was updated successfully, but these errors were encountered:
MaksBokk2
changed the title
TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ENOENT') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at C:\Users\PC\AppData\Roaming\npm\node_modules\cordova\bin\cordova:32:22 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
C:\Users\PC\MyApp>cordova run android Checking Java JDK and Android SDK versions ANDROID_HOME=undefined (recommended setting) ANDROID_SDK_ROOT=undefined (DEPRECATED) Using Android SDK: C:\Users\PC\AppData\Local\Android\sdk Subproject Path: CordovaLib Subproject Path: app TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ENOENT') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at C:\Users\PC\AppData\Roaming\npm\node_modules\cordova\bin\cordova:32:22 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Apr 12, 2024
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
Expected behavior:
Steps to reproduce:
Screenshots
Environment information
cordova -v
cordova platform ls
cordova plugin ls
sw_vers
winver
Runtime issue
Android build issue:
node -v
ls platforms/android/.gradle
android:targetSdkVersion
inAndroidManifest.xml
sdkmanager --list | sed -e '/Available Packages/q'
iOS build issue:
node -v
Related code:
Console output
console output
Other information:
The text was updated successfully, but these errors were encountered: