webstorm require unresolved function or method

description: You need to enable “Node.js Globals” entry.

solution

enable Coding assistance for Node.js