Using ES6 / import and node_modules are marked as "Module is not installed"

Modules installed in `node_modules` are marked as being not found. I try to show in the screenshot that I've installed and using ES6 for import:

I'm using PhpStorm 2016.1
Build #PS-145.258, built on March 16, 2016
JRE: 1.8.0_40-release-b132 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

My JavaScript setting is "ECMAScript 6" and I'm using babel6.

Comment actions Permalink

Can't recreate (b. 145.596):



can you provide a sample project that shows up the issue?

Comment actions Permalink

I was getting that, but then installed the NodeJS plugin and it all seems good now.


Comment actions Permalink

Yes, that was it!

I felt confused about this so obvious solution as I've been using PhpStorm literally a year on that NodeJS project off and on and never realized I was missing the plugin?! Maybe it went away with one of the PhpStorm/EAP updates, can't say.


Please sign in to leave a comment.