upgrade-node #40
Annotations
1 error
Upgrade Node.js
Unhandled error: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/cdktf-integration-serverless-example/cdktf-integration-serverless-example/node_modules/node-fetch/src/index.js from /home/runner/work/cdktf-integration-serverless-example/cdktf-integration-serverless-example/.github/scripts/check-node-versions.js not supported.
Instead change the require of index.js in /home/runner/work/cdktf-integration-serverless-example/cdktf-integration-serverless-example/.github/scripts/check-node-versions.js to a dynamic import() which is available in all CommonJS modules.
|