Home > Mobile >  Intellij IDEA: "Cannot find declaration to go to" - message in a new javascript project
Intellij IDEA: "Cannot find declaration to go to" - message in a new javascript project

Time:02-11

I'm getting "Cannot find declaration to go to in" message when try to Ctrl click the path of an imported module

This message shows up if the path contains "@" symbol as a root reference.

This is happening in my new project and there is no such problem in the old project.

How to fix this problem?

enter image description here

CodePudding user response:

Here is the solution: enter image description here

according to https://www.jetbrains.com/help/idea/using-webpack.html#edit_webpack_configuration_file

  • Related