-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
build: ./node built with --node-builtin-modules-path runs into an error recently #36512
Comments
We cannot guarantee that a binary built previously with |
Your local JS file expects |
Is there any way we can make |
no, it specifically only patches the part of the codebase where the source of the module is looked up. using it should not modify node's module system logic which is already quite complex and prone to bugs. |
I believe this can be closed, but if there's more to talk about, feel free to comment and/or re-open. |
What steps will reproduce the bug?
Build node with the
--node-builtin-modules-path
option and run./node
.How often does it reproduce? Is there a required condition?
I had built
./node
a while back and the problem started after syncing my local copy of the repo with the main branch 3 days back.What is the expected behavior?
No errors.
What do you see instead?
Additional information
To my knowledge, the generated executable is flexible enough to adapt to any js changes without another rebuild. However,
./node
seems to crash with the same error message no matter which commit I check out.The text was updated successfully, but these errors were encountered: