"Module is not installed" in ES6 imports from node_modules

Created project using vue-cli:

vue init webpack-simple test-vue
cd test-vue
npm i

Then opened project in WebStorm:

Project builds and works as expected but warning stays.

 

WebStorm 2017.1, macOS

1
8 comments

Tried on another machine (no warning there) and spotted the difference. I don't see node_modules as "Library root" in folder list on this machine.

1

@Nikita, I *do* see `library root` on `node_modules` but *am* experiencing same "Module is not installed" warning message.

 

Ruby Mine 2016.2.5

1

can't recreate.

please try invalidating caches - does the problem persist?

0

Not sure what exactly was causing it but resetting all settings helped.

0

Do you have vue module installed? Plese expand node_modules node in Project tool window so that vue module is visible and provide a screenshot

0

I have the same issue, everything from node_modules is marked as not installed, while everything is installed.

Removing the .idea folder don't fixes anything

0

It doesn't find any of the modules that are hoisted by yarn.

0

Please sign in to leave a comment.