Repository navigation
Unable to create new RN 0.72 project with Node 16 #39692
Description
Activity
- addedNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
on Sep 27, 2023 github-actions commented
on Sep 27, 2023 on Sep 27, 2023 · Hidden as resolvedshow commentMore actionsIs it possible for your project to update node version?
If not, you probably could try to add "@react-native/normalize-colors" to the package's "overrides" list with the previous version.
Current version 0.73.1 seems to be pushed yesterday.But if possible, probably it's cleaner to update node version
@duasfh thanks, I'm personally not affected, this was an issue we saw on our CI, we've updated CI to node 18, so we're fine. But I don't think it was an intended/documented change that rn 0.72.* requires node 18 now.
Reacted by Pavel ShamparovConsidering the latest stable RN includes the following in
package.json:"engines": { "node": ">=16" }I would kindly ask for a RN side resolution to this. Not sure if this is an acceptable approach, but it comes to mind; publishing
@react-native/normalize-colors0.73.0 as 0.73.2, then publishing 0.73.1 as 0.74.0, considering it's a breaking change due to its change of Node minimum version requirements.For the time being I'm resolving this on my side using:
"resolutions": { "@react-native/normalize-colors": "0.73.0" }In my
package.json, but I would much prefer not having to add this.Reacted by ijhar-nivoda, Alejandro Chavez and Finn Bayer- added and removedNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
on Sep 27, 2023 Thanks for flagging this @mfazekas, we're currently investigating what's the best resolution for this problem. As you mentioned, setting the
resolutionsfor"@react-native/normalize-colors": "0.73.0"is a valid workaround as that version doesn't contain theenginesdirective.Closing as per #39698
We published@react-native/normalize-colorsversion 0.73.2 which fixes this issueReacted by Vivek Gautam and ungveloper- addedResolution: FixedA PR that fixes this issue has been merged.A PR that fixes this issue has been merged.
on Sep 27, 2023 - added a commit that references this issue
on Oct 14, 2023 🚀 SOLUTION: iOS 18 + Xcode 16 Build Issues with OneSignal (After April 26, 2025)
📌 PROBLEM:
Build failures after updating to iOS 18, Xcode 16, and OneSignal.✅ SOLUTION STEPS:
1. 📥 Download Xcode 16
- Download from Apple Developer Portal:
https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_16/Xcode_16.xip
2. 📝 Update Podfile Configuration
Modify your Podfile to include:
platform :ios, '18' # Do not use min SDK auto-versioning!
3. 📦 ONESIGNAL VERSION
Use these stable versions:
For React Native:
"react-native-onesignal": "^4.5.4"
4. 🔄 CLEAN INSTALL
Run these commands:
pod repo update
pod installThen in Xcode:
Clean Build Folder (Shift+Cmd+K)5.
⚠️ UPDATE OTHER DEPENDENCIESCheck these packages if issues continue:
- Flipper
- Firebase
- React Native
6. 🛠️ RN 0.72+ SPECIFIC FIXES
If using New Architecture:
- Update folly to 2023.08.07.00 in Podfile:
pod 'RCT-Folly', :podspec => '../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec'
💬 TROUBLESHOOTING RN 0.72+:
- Check Metro server compatibility
- Verify Hermes version matches RN 0.72+ requirements
- Ensure CocoaPods 1.12.0+ is installed
🤝 SUPPORTED VERSIONS:
This solution verified working with:
- RN 0.72.4
- RN 0.73.2
- RN 0.74.0
- ++ or last version
LABELS:
iOS18, Xcode16, OneSignal, BuildErrorReacted by Süleyman EkiciReacted by Süleyman EkiciReacted by Süleyman EkiciReacted by Süleyman EkiciReacted by Süleyman EkiciReacted by Süleyman Ekici- Download from Apple Developer Portal:
Description
Looks like the issue was caused by recent publish of
@react-native/normalize-colors@0.73.1https://github.com/facebook/react-native/tree/main/packages/normalize-color
React Native Version
0.72.5
Output of
npx react-native infoSteps to reproduce
Snack, screenshot, or link to a repository
See also #38298