bonjourjoel opened a new issue, #626: URL: https://github.com/apache/cordova-cli/issues/626
# Bug Report ## Problem Hey! I wish I could use cordova also on **MacOS Ventura**. It doesn't work. The basic commands like `cordova platform add` and `cordova plugin add` don't work. I don't know if i did something wrong in my setup, or if it's not supported. I have read all the documentation i could find on this topic, of which I couldn't find any. Is it supported or not? Did I do something wrong? Is the answer already written somewhere and I wasn't able to find it? ### What does actually happen? This is an example of the problem. This is an interactive session immediately after installing everything like cordova, xcode-select, ios-deploy, cocoapods, etc. **% cordova create cordovatest** > Creating a new cordova project. **% cd cordovatest** **% ls** > config.xml package.json www **% cordova platform add browser** > Using cordova-fetch for cordova-browser > Failed to fetch platform cordova-browser > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > CordovaError: Error: Command failed with exit code 1: npm install cordova-browser --save-dev > npm ERR! code EEXIST > npm ERR! syscall mkdir > npm ERR! path /Users/joel/.npm/_cacache/content-v2/sha512/e9/8a > npm ERR! errno EEXIST > npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/shelljs: EACCES: permission denied, mkdir '/Users/joel/.npm/_cacache/content-v2/sha512/e9/8a' > npm ERR! File exists: /Users/joel/.npm/_cacache/content-v2/sha512/e9/8a > npm ERR! Remove the existing file and try again, or run npm > npm ERR! with --force to overwrite files recklessly. > > npm ERR! A complete log of this run can be found in: /Users/joel/.npm/_logs/2023-09-03T06_02_24_559Z-debug-0.log **% rm -rf /Users/joel/.npm/_cacache/content-v2/sha512/e9/8a** **% cordova platform add browser** > Using cordova-fetch for cordova-browser > Failed to fetch platform cordova-browser > Probably this is either a connection problem, or platform spec is incorrect. > Check your connection and platform name/version/URL. > CordovaError: Error: Command failed with exit code 1: npm install cordova-browser --save-dev > npm ERR! code EEXIST > npm ERR! syscall mkdir > npm ERR! path /Users/joel/.npm/_cacache/content-v2/sha512/e9/8a > npm ERR! errno EEXIST > npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/shelljs: EACCES: permission denied, mkdir '/Users/joel/.npm/_cacache/content-v2/sha512/e9/8a' > npm ERR! File exists: /Users/joel/.npm/_cacache/content-v2/sha512/e9/8a > npm ERR! Remove the existing file and try again, or run npm > npm ERR! with --force to overwrite files recklessly. > > npm ERR! A complete log of this run can be found in: /Users/joel/.npm/_logs/2023-09-03T06_02_59_615Z-debug-0.log **% sudo cordova platform add browser** > Using cordova-fetch for cordova-browser > ^C _[ctrl-c because it hanged.]_ **% sudo npm cache clean --force** > npm WARN using --force Recommended protections disabled. **% sudo cordova platform add browser** > Using cordova-fetch for cordova-browser > Adding browser project... _[it hangs here... but it finally responds]_ > Could not load API for browser project /Volumes/dev/cordovatest/node_modules/cordova-browser **% ls -l node_modules/cordova-browser** > total 218 > -rwx------ 1 joel staff 1374 Sep 3 08:10 CONTRIBUTING.md > -rwx------ 1 joel staff 17024 Sep 3 08:07 LICENSE > -rwx------ 1 joel staff 168 Sep 3 08:07 NOTICE > -rwx------ 1 joel staff 1621 Sep 3 08:10 README.md > -rwx------ 1 joel staff 8212 Sep 3 08:10 RELEASENOTES.md > -rwx------ 1 joel staff 6 Sep 3 08:07 VERSION > drwx------ 1 joel staff 16384 Sep 3 08:09 bin > drwx------ 1 joel staff 16384 Sep 3 08:10 cordova-js-src > drwx------ 1 joel staff 16384 Sep 3 08:09 cordova-lib > -rwx------ 1 joel staff 1033 Sep 3 08:10 package.json > drwx------ 1 joel staff 16384 Sep 3 08:10 spec ### 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. --> MacOs Ventura 13.5.1 (22G90) Cordova 12.0.0 ([email protected]) NodeJs v18.17.1 Npm 9.6.7 Xcode Version 14.3.1 (14E300c) xcode-select version 2397 Homebrew 4.1.7 gem version 3.0.3.1 pod version 1.12.1 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
