Resources · medium severity · found in the console
FiveM server JS: Node builtins are pre-injected globals
The server console prints a line like this.
What the console says
SyntaxError: Identifier '<ident>' has already been declared
What it means
<resource> declares <ident> but FiveM already provides it as a global in server JS.
How to fix it
- Remove the require/const declaration and use the global directly.
When it is not this
If the vendor left the require commented out, that is deliberate — do not 'fix' it by uncommenting.