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.
![image](https://private-user-images.githubusercontent.com/60743790/266183392-70e502a1-04b6-45bd-8739-dd77b3b1457f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjM4MjAsIm5iZiI6MTczODgyMzUyMCwicGF0aCI6Ii82MDc0Mzc5MC8yNjYxODMzOTItNzBlNTAyYTEtMDRiNi00NWJkLTg3MzktZGQ3N2IzYjE0NTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA2MzIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI2OWFhYjYxNWEzNThlN2E5MDE3YTQ4MzAxYTI0ZGEyOTBkODc1NmNmMjk5MGEyYWU4OWE4ZTNkN2E5Y2VjMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MLa5lq9lcsrN_6oC27TAPy_M8QxwR_NOKNVHzjRI5Zw)
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