标签: find

2 篇文章

Cannot find module ‘ts-node/register’
from--https://www.e-learn.cn/topic/3406167 由 半世苍凉 提交于 2020-02-20 06:22:29 问题 I want to use mocha to test my TypeScript/Angular2 project. I tried to use ts-node as described here: npm install -g ts-node but when running mocha --require ts-node/register -t 10000 ./*/.unit.ts I get an error Cannot find module 'ts-node/register' What am I missing here? 回答1: Since the answer th…
Could not find method compile() for arguments [directory ‘./lib/‘] on object
from--https://blog.csdn.net/weixin_38106322/article/details/122893719   gradle项目编译时报的错,没学过gradle,所以具体原因看不出来,猜测是版本原因,这里只分享下解决方案。 bulid.gradle原信息是: 修改compile为implementation,如下: 之后即可编译成功