You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's dependency issue of Serverless framework both of v2 and v3 which are dependant on got@11.8.5.
Even if I update serverless to v3, it requires got@11.8.5 which is dependant on @types/keyv and causes same error.
I tried to force increase got version in package.json with overrides method but got this error
Error [ERR_REQUIRE_ESM]: require() of ES Module ../node_modules/got/dist/source/index.js from ../node_modules/serverless/lib/utils/eventuallyUpdate.js not supported
I believe it is ESM module integration fault.
Proposed solution (optional)
Could we increase version of got module in Serverless v2 and v3 together and make it ESM module compatible?
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Use case description
Type definition missing for 4.2.0
This error occures after I try to build my typescript project just before deploy it via Serverless Framework
Serverless: 2.72.3
Environment: AWS CodeBuild (ubuntu)
It's dependency issue of Serverless framework both of v2 and v3 which are dependant on got@11.8.5.
Even if I update serverless to v3, it requires got@11.8.5 which is dependant on @types/keyv and causes same error.
I requested to publish this module back here. jaredwray/keyv#528
https://www.npmjs.com/package/@types/keyv
I tried to force increase got version in package.json with overrides method but got this error
I believe it is ESM module integration fault.
Proposed solution (optional)
Could we increase version of got module in Serverless v2 and v3 together and make it ESM module compatible?
The text was updated successfully, but these errors were encountered: