fix: project not working, updated dependencies and config#223
Open
PersuasivePost wants to merge 5 commits intokamranahmedse:masterfrom
Open
fix: project not working, updated dependencies and config#223PersuasivePost wants to merge 5 commits intokamranahmedse:masterfrom
PersuasivePost wants to merge 5 commits intokamranahmedse:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Node.js v20 Compatibility Update
This update resolves several issues that previously prevented the application from running on modern Node.js versions (v20+), particularly on Windows systems. The changes ensure compatibility while maintaining full existing functionality.
🛠 Summary of Changes
1. 🔄 Replaced
node-sasswithsassnode-sass@4.12.0(caused native compilation failures on Node.js v20)sass@1.89.2(Dart Sass – pure JS, no native bindings)node-sass → sassto support legacysass-loaderexpectations2. 🔐 Fixed OpenSSL 3.0 Compatibility (Node.js v17+)
package.jsonscripts:NODE_OPTIONS=--openssl-legacy-providerdigital envelope routines::unsupportederrorreactscriptbuildscript3. 🚫 Bypassed Create React App Preflight Checks
.envfile:SKIP_PREFLIGHT_CHECK=truebabel-jestversion warnings from blocking the app4. 🧹 Cleaned Up Package Manager Conflicts
package-lock.json(Prevents Yarn/npm version resolution inconsistencies)
📂 Files Modified
package.json– Updated
scriptsto includeNODE_OPTIONS.env– Added for CRA preflight check bypass
Dependencies
node-sasssass✅ Testing Results
yarn installyarn startyarn build🧪 Compatibility
This update ensures the application is fully compatible with modern development environments while preserving existing functionality.