Error on every Code block

Since today we are having some errors related to the Block code/Javascript. Is this a bug of the new update or something else? This error occurs not in just one flow but all.

Any ideas why this happen?

image

Hi @Jorge_de_Publieke_Pa

We are taking look

Having the same problem and all my automations stopped working

All changes has been reverting and the code block is now working, the team will now start investigating for the reason

The team will retry all failed runs, they should continue from where they failed

@abuaboud

The problem was fixed and now it’s back again and automation getting errors again:

Error: Cannot find module ‘/codes/psK1tPntuUknzJ7R1zDMF/step_10/index.js’
Require stack:

  • /root/node:internal/process/noop.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1207:15)
    at resolveFileName (webpack://activepieces/node_modules/resolve-from/index.js:29:39)
    at resolveFrom (webpack://activepieces/node_modules/resolve-from/index.js:43:9)
    at resolveFrom (webpack://activepieces/node_modules/resolve-from/index.js:46:47)
    at moduleId (webpack://activepieces/node_modules/@activepieces/import-fresh-webpack/index.js:17:19)
    at (webpack://activepieces/engine/src/lib/handler/code-executor.ts:50:46)
    at Generator.next ()
    at a (webpack://activepieces/node_modules/tslib/tslib.es6.mjs:118:56)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [ ‘/root/node:internal/process/noop.js’ ]
    }