Issue with import that contains @

In every place in code where occurs import from "@some-source"; Webstorm can't find that module, even if directory exists in node_modules:

It's not blocking my job, but it's misleading and annoying. Any way to add those errors to ignored? //@ts-ignore cannot be used. 

0
2 comments

can't see any issues using such imports

Please share a screenshot of the error that is shown plus screenshots of the corresponding folders in node_modules (in the Project tool window)

0

My issue is resolved, the problem was using "sudo yarn start" instead of "yarn start". "Sudo" makes node_modules root owner, not an user, to that was just file access problem.

1

Please sign in to leave a comment.