TypeScript version 3.7.2 is not valid
harttle opened this issue · comments
又遇到这个情况了。有版本依赖还是要局部化,把错误搞到运行时不合理。我们再想想办法,在这里开个线条跟进。
TypeError: [ts2php] TypeScript version 3.7.2 is not valid! Please install typescript@~3.4.0!
at Object.compile (/home/harttle/tmp/san- playground/node_modules/ts2php/dist/index.js:53:15)
想去掉外层对ts-morph的依赖