Github Actions run failed with type error: Cannot redefine property #1525
Replies: 1 comment 1 reply
-
Hi 👋 ! I've also seen this error in some recent runs (like https://github.com/lowlighter/metrics/actions/runs/6147659832/job/16679687573), but after updating some dependencies it seems to be resolved. At least the recent re-runs seems to pass on I'm not sure exactlt what was causing this issue, as it's pretty deep in the stack so maybe it was a faulty dependency version |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to Github Actions.I followed setup action to setup.
This is my action workflow file metrics and after running this file, the error logs turns out
/metrics/node_modules/@actions/core/lib/core.js:323 Object.defineProperty(exports, "summary", { enumerable: true, get: function () { return summary_1.summary; } }); ^ TypeError: Cannot redefine property: summary at Function.defineProperty (<anonymous>) at Object.<anonymous> (/metrics/node_modules/@actions/core/lib/core.js:323:8) at Module._compile (node:internal/modules/cjs/loader:1241:14) at Module._extensions..js (node:internal/modules/cjs/loader:1295:10) at Module.load (node:internal/modules/cjs/loader:1091:32) at cjsLoader (node:internal/modules/esm/translators:282:14) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:233:7) at ModuleJob.run (node:internal/modules/esm/module_job:217:25) at async ModuleLoader.import (node:internal/modules/esm/loader:308:24) at async loadESM (node:internal/process/esm_loader:42:7)
It looks like some variables are redefined but I don't know why.
Beta Was this translation helpful? Give feedback.
All reactions