Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
"strictInjectionParameters": true}[注意,对于这部分的错误
尝试npm我做了npm安装@type/node保存,然后添加行到tsconfig.j
<anonymous> (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/readable-streamnpm had a problem!{ Error: Command failed: "/home/ubuntu/.nvm/versions/node/v6.11.2&
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable programAt line:1 char:1+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException