jinqi166 先装cnpm,执行命令:npm install -g cnpm --registry=https://registry.npm.taobao.org然后安装typescript,执行命令:cnpm install -g typescript