-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: macOS 12 monterey is not supported #566
Comments
I forked and updated the required libs to make it work. I can send a PR if it's allowed. I updated the libs related below, but it didn't update the lib we want, so I added as dependency into main package.json and it worked. Here's the solution for unblocking you:
|
We do not pin exact direct dependent packages and some of these sub packages are not pinned too. Just reinstall Cordova CLI so it will fetch
|
Before re-install:
After re-install:
This problem was solved by reinstalling. https://github.com/apache/cordova-cli/blob/master/package-lock.json
I know that dependencies are pinned to insight 0.10.3. https://github.com/apache/cordova-cli/blob/master/package.json
|
For posterity, here's the issue from the dependency repository. |
This is happening again with Ventura ... we need a future proof fix |
Probably just get rid of But unfortunately the underlying package can't see in the future nor do they gracefully handle unknown Darwin versions. Instead we can just use the NodeJS APIs ( Someone with a mac can confirm, but this is probably a better path forward and we get to manage one less dependency. |
Yeah looks like the insight package is basically throwing in the towel on this issue, and the creator removed it from his own product: yeoman/insight#83. So that is likely the best path forward for cordova as well. |
Bug Report
Problem
What is expected to happen?
Build should also succeed on macOS 12(monterey).
What does actually happen?
Build fails on macOS 12.0.1
Information
cordova 10.0.0 uses macos-release 2.4.1 version in package-lock.json
In order to have no problems on macOS 12, macos-release version 2.5.0 is required.
Command or Code
Environment, Platform, Device
Occurs with macos 12.0.1 and cordova 10.0.0
Version information
Cordova: cordova 10.0.0, cordova-ios 6.2.0
Other Frameworks: @ionic/cli 6.18.0, macos 12.0.1, xcode 13.1
Checklist
The text was updated successfully, but these errors were encountered: