Seems you need to enable Node Core library (as lena also commented),
Within WebStorm:
- Go to File -> Settings -> Languages & Frameworks -> Node.js and NPM
- Make sure that 'Node.js Core library is enabled' by pressing Enable button.
- Click OK for saving settings.
NOTE: Make sure you do it within 'Settings' and not only in 'Default Settings'