[Resolved] Unknown Node.js version

Hello,

I am using WebStorm 2016.3.2 and I have installed the most recent version of Node.js (v7.4.0) and NPM for Windows. When I start any project and go to Settings->Languages & Frameworks->Node.js and NPM, the Node Interpreter section finds the correct path to my node.exe, but the Coding Assistance says "Unknown Node.js version" and the Packages section is empty.

I have tried this on several computers. Do you know why I am having this problem or what I might be able to do to fix it? Re-installing or repairing Node.js does not do the trick.

Thank you.

Richard Hayes

Edit:

Here's a screenshot of the Node.js and NPM Settings

And here is a link to the idea.log file:

https://www.dropbox.com/s/nok03ljtstqr33n/idea.log?dl=0

0
6 comments

Please attach a screenshot of your Node.js and NPM settings and your idea.log

0
Avatar
Permanently deleted user

This is my first post here, so I'm not too sure how things work. Is there a way to upload a file that is not an image?

The idea.log file is quite long and would not fit in a screenshot.

0

You can put it on a dropbox or another file server and provide a link here

0
Avatar
Permanently deleted user

Thanks. I updated the original post with the idea.log file. Can you see if you can help me out?

0

Thanks!

the problem is that WebStorm gets unexpected response when running `node --version':

Cannot parse version: expected single line, actual lines [v7.4.0, [0x7FF9E47F70E3] ANOMALY: use of REX.w is meaningless (default operand size is 64)], $ "C:\Program Files\nodejs\node.exe" --version

Most articles I've found suggest that the issue is related to antiviral tools...

Please see http://stackoverflow.com/questions/36873664/anomaly-meaningless-rex-prefix-used, https://www.neowin.net/forum/topic/1307868-weird-message-when-running-anything-from-cmd-prompt-w10-1607/, https://social.technet.microsoft.com/Forums/office/en-US/efd83b6a-dc86-4854-b05f-f484e1ed5596/anomaly-meaningless-rex-prefix-used?forum=winserverGP

1
Avatar
Permanently deleted user

Thank you!

Disabling the antivirus did not help the existing problem, but when I removed and re-installed Node.js with the antivirus disabled, Webstorm recognized the version and the packages. I guess the antivirus must have interfered with the initial installation.

0

Please sign in to leave a comment.