Closed mikel67 closed 1 year ago
I am deploying a function via CDK and failing with errors in the code.
Copied the Typescript bundled code to manually check details in the console
bundled code snippet:
`// src/tenant-config/create/tenant-config-create.function.ts import { util as util2 } from "@aws-appsync/utils";
// src/shared/dynamodb-utils.ts import { util } from "@aws-appsync/utils";
// src/shared/utils.ts function getNameKey(name) { .....`
error message as per screenshot.
This ended up being only a console display issue. Once the root cause error had been removed then CDK deploy works.
Also can confirm even thought errors are displayed in the console, can save.
Closing this issue
I am deploying a function via CDK and failing with errors in the code.
Copied the Typescript bundled code to manually check details in the console
bundled code snippet:
`// src/tenant-config/create/tenant-config-create.function.ts import { util as util2 } from "@aws-appsync/utils";
// src/shared/dynamodb-utils.ts import { util } from "@aws-appsync/utils";
// src/shared/utils.ts function getNameKey(name) { .....`
error message as per screenshot.