Answer the question
In order to leave comments, you need to log in
Why doesn't path from tsconfig.json work?
I am setting up an environment for working with expressjs. I registered the paths I needed in the path: field
.
Webstorm IDE pulled up the config changes and instead of different ../../app/Http/Controllers/something.controller and the like suggested a short alias
But when the project starts, errors appear in the console like:
Help me figure out what I did wrong?
Answer the question
In order to leave comments, you need to log in
I think, because you registered taipings, but forgot to add aliases. Typing "deceives" the compiler and tells you where to pull the type declaration from. But after compilation, js does not understand where such a module came from. This is how you can create a link in the node_modules folder: https://ru.wikipedia.org/wiki/Ln_(Unix)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question