fix: Lazy-load vscode-nsfw to support RHEL 8#14058
Merged
nachocodoner merged 5 commits intometeor:release-3.4.1from Mar 24, 2026
Merged
fix: Lazy-load vscode-nsfw to support RHEL 8#14058nachocodoner merged 5 commits intometeor:release-3.4.1from
nachocodoner merged 5 commits intometeor:release-3.4.1from
Conversation
✅ Deploy Preview for v3-migration-docs canceled.
|
✅ Deploy Preview for v3-meteor-api-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Member
|
Looks good. I will follow your steps to reproduce it and validate the fix. Setting it for Meteor 3.4.1. Thank you so much for your work and detailed PRs! 🚀 |
italojs
requested changes
Dec 16, 2025
tools/fs/safe-watcher-legacy.ts
Outdated
| // watcher and stop them | ||
|
|
||
| nsfw( | ||
| nsfwLib( |
Member
There was a problem hiding this comment.
Could you fix the indentation, it should match the last for
italojs
previously approved these changes
Dec 19, 2025
Member
|
I’ve seen a failure in the Windows check, but I believe it’s related to flaky behavior that I’m currently investigating. This PR should be fine to merge. I’ll merge it into 3.4.1 shortly. |
nachocodoner
approved these changes
Jan 7, 2026
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.
Problem
Meteor crashes on RHEL 8 / Rocky Linux 8 / AlmaLinux 8:
RHEL 8 has GLIBCXX_3.4.25, but vscode-nsfw needs 3.4.26. The
import nsfw from 'vscode-nsfw'insafe-watcher-legacy.tsloads immediately at startup, even when using modern mode with@parcel/watcher.Solution
Lazy-load vscode-nsfw only when
watcherLibrary === 'nsfw':Changes
getNsfw()lazy-loading functionfireNamesandaddWatchRoot()to usegetNsfw()Testing
Tested on Rocky Linux 8:
Before fix:
After fix:
Fixes #13649