fivem-docs icon indicating copy to clipboard operation
fivem-docs copied to clipboard

Add documentation of `node-rebuild` for node22

Open william-des opened this issue 5 months ago • 0 comments

The @citizenfx/node-rebuild tool has been mentioned several times since the introduction of Node 22, but I haven't seen any official documentation explaining what it does or when it's supposed to be used.

From what I understand, it is meant to recompile native Node.js modules (using node-gyp) to ensure compatibility with the version of Node bundled in FXServer.

I think it would be usefull to mention this tool in the javascript scripting manual

william-des avatar Jul 29 '25 20:07 william-des