常见问题
TIP
列举了一些常见的问题。有问题可以先来这里寻找
前言
遇到问题,可以先从以下几个方面查找
流程运行中如果待办人为空或待办人不对需要修改流程变量
通过流程实例ID查看运行中的变量 SELECT * FROM act_ru_variable WHERE PROC_INST_ID_
='6df4bec35f0311edb9432e92f39c67f4'; 通过流程实例ID查看历史流程变量 SELECT * FROM act_hi_varinst
WHERE PROC_INST_ID_
='6df4bec35f0311edb9432e92f39c67f4';
流程引擎后台启动卡住:liquibase - Waiting for changelog lock....
控制台提示如下:
2021-02-14 13:45:13.735 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:23.739 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:33.744 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:43.750 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:45:53.755 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:03.762 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:13.767 [main] INFO liquibase - Waiting for changelog lock....
2021-02-14 13:46:23.773 [main] INFO liquibase - Waiting for changelog lock....
原因:表被意外锁住 解决方案:把 b'1' 改成 b'00000000' 即可
前端项目build的时候报内存溢出错误解决 - JavaScript heap out of memory
[20:55:11] <--- JS stacktrace --->
[20:55:11]
[20:55:11] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
[20:55:11] 1: 0xb09980 node::Abort() [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 2: 0xa1c235 node::FatalError(char const*, char const*) [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 3: 0xcf784e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 4: 0xcf7bc7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 5: 0xeaf465 [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 6: 0xeaff46 [/root/.nvm/versions/node/v16.14.1/bin/node]
[20:55:11] 7: 0xebe46e [/root/.nvm/versions/node/v16.14.1/bin/node]
解决方案: build前执行export NODE_OPTIONS=--max_old_space_size=4096
# input your command here
npm config set registry https://registry.npm.taobao.org/
cd ./hopeflow-admin-ui/
echo "开始安装"
yarn install
echo "开始构建"
export NODE_OPTIONS=--max_old_space_size=4096
yarn build