(which is soltecsis/fwcloud-api:2.3.0 at the time of writing)
the docker log says:
And the the container restarts forever.
2.2.0 is fine.
the docker log says:
Code:
fwcloud-api | /opt/fwcloud/api/dist/src/sockets/messages/socket-message.js:41
fwcloud-api | const uuid = __importStar(require("uuid"));
fwcloud-api | ^
fwcloud-api |
fwcloud-api | Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/fwcloud/api/node_modules/uuid/dist-node/index.js from /opt/fwcloud/api/dist/src/sockets/messages/socket-message.js not supported.
fwcloud-api | Instead change the require of index.js in /opt/fwcloud/api/dist/src/sockets/messages/socket-message.js to a dynamic import() which is available in all CommonJS modules.
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/sockets/messages/socket-message.js:41:27)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/communications/ssh.communication.js:31:26)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/models/firewall/Firewall.js:96:29)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/models/firewall/Cluster.js:39:20)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/database/database.service.js:70:19)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/cli/commands/migration-reset-command.js:25:28)
fwcloud-api | at Object.<anonymous> (/opt/fwcloud/api/dist/src/cli/cli.js:24:35) {
fwcloud-api | code: 'ERR_REQUIRE_ESM'
fwcloud-api | }
fwcloud-api |
fwcloud-api | Node.js v18.20.8
And the the container restarts forever.
2.2.0 is fine.