Trying to migrate from v2 to v3 #4348
Unanswered
monjayaram
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to migrate from v2 to v3 using 'aws-sdk-js-codemod' But getting below error.
Sending 1 files to free worker...
[BABEL] Note: The code generator has deoptimised the styling of /Users/monika/.npm/_npx/97449/lib/node_modules/aws-sdk-js-codemod/dist/transforms/v2-to-v3/config/CLIENT_TYPES_MAP.js as it exceeds the max of 500KB.
ERR src/lib/services/message.service.ts Transformation error (fileSource.matchAll(...) is not a function or its return value is not iterable)
TypeError: fileSource.matchAll(...) is not a function or its return value is not iterable
at getV2ClientNamesWithServiceModule (/Users/monika/.npm/_npx/97449/lib/node_modules/aws-sdk-js-codemod/dist/transforms/v2-to-v3/client-names/getV2ClientNamesWithServiceModule.js:7:61)
at getV2ClientNamesRecord (/Users/monika/.npm/_npx/97449/lib/node_modules/aws-sdk-js-codemod/dist/transforms/v2-to-v3/client-names/getV2ClientNamesRecord.js:9:117)
at transformer (/Users/monika/.npm/_npx/97449/lib/node_modules/aws-sdk-js-codemod/dist/transforms/v2-to-v3/transformer.js:14:74)
Beta Was this translation helpful? Give feedback.
All reactions