Open runkingzhang opened 11 months ago
这边定时器启动报错,解决了半天没有处理过好 Cannot find type definition file for 'cron'. The file is in the program because: Entry point for implicit type library 'cron 请问再那里修改才可以启动
dist 里面的代码是好的
cnpm install @types/cron --save-dev "typeRoots": ["node_modules/@type"], 解决问题
同问题,在 package.json 中 移除掉 @types/cron@2.4.0 即可。
package.json
@types/cron@2.4.0
参见:https://www.npmjs.com/package/@types/cron
我也没遇到。不过能解决就行。~_~
这边定时器启动报错,解决了半天没有处理过好 Cannot find type definition file for 'cron'. The file is in the program because: Entry point for implicit type library 'cron 请问再那里修改才可以启动