Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save seanpianka/aa58d619d51d7f4b12b8e5a672a01c64 to your computer and use it in GitHub Desktop.
Save seanpianka/aa58d619d51d7f4b12b8e5a672a01c64 to your computer and use it in GitHub Desktop.
JetBrains WebStorm vue.js, "Module is not installed", fix "@" in imports
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000556284/comments/360000146344
Specify the absolute path to `node_modules/@vue/cli-service/webpack.config.js` as a webpack config under `Languages & Frameworks / Javascript / Webpack`.
@Mandrake27
Copy link

Thanks!

@seanpianka
Copy link
Author

I'm glad it helped you @Mandrake27!

@GalvinGao
Copy link

On WebStorm 2020.3.2, after I specified the webpack config itself it still doesn't work, however when I do this it works:

  • quit WebStorm completely
  • delete the old .idea folder (or rename it to something like .idea.bak)
  • open WebStorm again
  • specify the webpack config now
  • click Apply and wait for WebStorm to analyze the webpack config. It should work now.

Hope this helps anyone.

@stephmafole
Copy link

@seanpianka, thank you so much.

@rwaddin
Copy link

rwaddin commented Jul 21, 2021

thank's @seanpianka 👍

@danve
Copy link

danve commented Dec 3, 2021

@GalvinGao thanks, your solutions works for (newly updated as today) to PhpStorm 2021.3

@storkontheroof
Copy link

🙏

@msmosavar
Copy link

@seanpianka Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment