aircraft
aircraft

Reputation: 26924

The Coding Assistance of Node.js and NPM can not enable in WebStorm

The Coding Assistance of Node.js and NPM can not enable in WebStorm.

In the WebStorm -> File -> Default Settings -> Languages & Frameworks -> Node.js and NPM:

enter image description here

I want to enable the Coding Assistance, but it can not be enabled.

My WebStorm version is WebStorm 2016.2.


EDIT-1

The /usr/local/bin/node exists, because you can see the 8.9.1 in the snapsot.

and I also check the version of it:

$ /usr/local/bin/node -v
v8.9.1

Upvotes: 6

Views: 9187

Answers (3)

Milad Abooali
Milad Abooali

Reputation: 728

I have the same problem but with WebStorm 2023.1.1, and after an hour I find a solution. I changed the IDE style from the new to the old one. And the check box for enabling the Node.js code assistance is active now. I marked that and it's download dependency and works correctly.

After this fix, I reload the new IDE style gain and check the option. it's still work.

So the problem must be related to the new Webstorm style.

Upvotes: 0

santhosh
santhosh

Reputation: 11

Unfortunately there are some people who cannot check the coding assistance for Nodejs checkbox in webstorm. I am one of them, I have tried to enable it in n no.of different ways but nothing worked. I think there should be some issue with webstorm versions. So, I have tried the below steps and luckily now i am able to get coding assistance. if you want to get coding assistance while working on nodejs file.

steps to follow:

  1. create a project with npm init
  2. create a file inside the directory like app.js

Hope this helps. Now you can see the coding assistance for Nodejs though checkbox for coding assistance not works. :) Happy coding

OR

update your node js to above 12.0 versions

Upvotes: 1

lena
lena

Reputation: 93888

unfortunately WebStorm 2016.x doesn't support recent Node.js versions. Node.js core library can't be enabled when using Node.js 8.x, debugging won't work, etc. You have to either downgrade Node.js to v.4.x or upgrade WebStorm to the most recent version

Upvotes: 5

Related Questions