当我构建应用程序时,出现以下错误。
Test suite failed to run
A jest worker process (pid=2439) was terminated by another process: signal=SIGKILL, exitCode=null. Operating system logs may contain more information on why this occurred.
at ChildProcessWorker._onExit (node_modules/jest-worker/build/workers/ChildProcessWorker.js:366:23)
Run Code Online (Sandbox Code Playgroud)
您能否建议如何检查 Linux 系统上的操作系统日志以及如何解决此问题?
我希望在任何一年的31日之后删除数据库.但是我的数据库中没有日期列.您可以告诉java代码将执行此操作吗?我搜索过我可以在myql中使用事件,但我没有得到如何使用它来适应我的应用程序.另外,还有更好的选择吗?我创建了以下数据库:
CREATE TABLE `amount` (
`userName` VARCHAR(100),
`DayCareAmount` INT(11) DEFAULT NULL,
`HealthCareAmount` INT(11) DEFAULT NULL,
`HealthClubAmount` INT(11) DEFAULT NULL,
PRIMARY KEY (`userName`)
) ENGINE=INNODB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8
Run Code Online (Sandbox Code Playgroud)