npm ERR! 404 @http://registry.npm.taobao.org/@types/报错不在npm注册表中。 看了很多方法,最后试了这个方法,就可以正常npm install npm config set registry https://registry.npmjs.org/