Metidji Sid Ahmed
Metidji Sid Ahmed

Reputation: 87

Enable Node.js coding assistance WebStorm doesn't work

I have a big issue with WebStorm (I'm using WebStorm 2019.1.2 ultimate edition) where I tried to start coding Node.js using it, when I tried to write require('fs'); it shows me an error message:

unresolved function or method require()

and as a solution it suggested me to "Enable Node.js code assistance".

I've tried to enable it (directly from the suggestion than from going to Settings) but IT CAN'T BE ENABLED.

click here to see the image

I checked of course previous similar problems posted here on StackOverflow but I only found one post where the problem was the old version of WS (but I have 2019.1.2)

Upvotes: 0

Views: 976

Answers (2)

Rohan Navlakhe
Rohan Navlakhe

Reputation: 19

I was using global packages. But when I installed packages locally in the project, it worked.

Upvotes: 0

lena
lena

Reputation: 93868

WEB-43088 is fixed in 2019.3.2. Please either upgrade WebStorm to the most recent version (2019.3.3) or downgrade Node.js

Upvotes: 2

Related Questions