GitToTheHub opened a new issue, #1507: URL: https://github.com/apache/cordova-ios/issues/1507
# Bug Report ## Problem ### What is expected to happen? When I execute `cordova platform remove ios` after the beta was added by `cordova platform add ios@8.0.0-beta.1`, it should be removed normally ### What does actually happen? I get an error: ```bash TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ENOTEMPTY') at process.set [as exitCode] (node:internal/bootstrap/node:123:9) at /Users/manuelbeck/.nvm/versions/node/v22.9.0/lib/node_modules/cordova/bin/cordova:32:22 `` ## Information When I do `cordova platform remove ios`for the second time, it works. ### Command or Code ```bash cordova platform remove ios cordova platform add ios@8.0.0-beta.1 cordova platform remove ios ``` ### Environment, Platform, Device OS: macOS 15.1.1 ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova: 12.0.2 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org