M
M
mindgrow2018-08-24 16:22:50
visual studio
mindgrow, 2018-08-24 16:22:50

Why is there a problem with including the @types/node package?

Good afternoon!
I use Visual Studio 2017. After creating the Blank Node.js Console Application console project, in the created project, the @types/node package is marked as missing, and I tried to restore and reinstall it - nothing helps.
Why can this happen?
5b8006a9974a0765306216.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2018-08-24
@Xuxicheta

try in tsconfig

"typeRoots": [
      "dev/@types"
    ],

by the way. why not in node_modules? how exactly "I tried to restore and reinstall it"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question