Hi all, fresh sst serverless typescript install, it seems that using node-fetch: ^3.0.0 causes an error at build.
Error [ERR_REQUIRE_ESM]: require() of ES Module
[….]/_trials/sst-ts/node_modules/node-fetch/src/index.js from
[….]/_trials/sst-ts/node_modules/@serverless-stack/core/dist/telemetry/post-payload.js not supported.
Instead change the require of index.js in
[….]//_trials/sst-ts/node_modules/@serverless-stack/core/dist/telemetry/post-payload.js to a dynamic import() which is available in all CommonJS modules.
Any idea how to fix this ?