获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
我用官方的typescript模版就是 typescript 3.1.6的,但还是报错: npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! demo@1.0.0 compile: `tsc` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the demo@1.0.0 compile script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
自动创建的基于typescript的普通模版直接编译报错没动任何代码,就是模板自动的代码,直接点编译,报了两处错。cannot find global type 请问怎么解决 [图片] - 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo
2019-01-08