The problem occurs in ToolJet plugins with node_modules/lz4. I find that this is a problem of incompatibility of the binary file or dynamic library with the current system. I tried to rebuild this library but it does not help. server@0.0.1 db:migrate 2024-11-22 20:25:36 > ts-node -r tsconfig-paths/register --transpile-only ./node_modules/typeorm/cli.js migration:run --config ormconfig.ts && npm run db:migrate:data 2024-11-22 20:25:36 2024-11-22 20:25:37 query: SELECT * FROM current_schema() 2024-11-22 20:25:44 Error during migration run: 2024-11-22 20:25:44 Error: /app/plugins/node_modules/lz4/build/Release/xxhash.node: invalid ELF header 2024-11-22 20:25:44 at Object.Module._extensions..node (node:internal/modules/cjs/loader:1340:18) 2024-11-22 20:25:44 at Module.load (node:internal/modules/cjs/loader:1119:32) 2024-11-22 20:25:44 at Function.Module._load (node:internal/modules/cjs/loader:960:12) 2024-11-22 20:25:44 at Module.require (node:internal/modules/cjs/loader:1143:19) 2024-11-22 20:25:44 at require (node:internal/modules/cjs/helpers:119:18) 2024-11-22 20:25:44 at Object. (/app/plugins/node_modules/lz4/lib/utils.js:4:11) 2024-11-22 20:25:44 at Module._compile (node:internal/modules/cjs/loader:1256:14) 2024-11-22 20:25:44 at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2024-11-22 20:25:44 at Object.require.extensions. [as .js] (/app/server/node_modules/ts-node/src/index.ts:1608:43) 2024-11-22 20:25:44 at Module.load (node:internal/modules/cjs/loader:1119:32) 2024-11-22 20:25:44 at Function.Module._load (node:internal/modules/cjs/loader:960:12) 2024-11-22 20:25:44 at Module.require (node:internal/modules/cjs/loader:1143:19) 2024-11-22 20:25:44 at require (node:internal/modules/cjs/helpers:119:18) 2024-11-22 20:25:44 at Object. (/app/plugins/node_modules/lz4/lib/static.js:60:17) 2024-11-22 20:25:44 at Module._compile (node:internal/modules/cjs/loader:1256:14) 2024-11-22 20:25:44 at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) { 2024-11-22 20:25:44 code: 'ERR_DLOPEN_FAILED' 2024-11-22 20:25:44 } we tried it on two separate Mac computers. I would appreciate it if someone has seen this recently. We tried the latest git version as well. |