Repository navigation
Could not compile sample code due to ECMAScript compatibility issues. #2788
Answered
by
dreamorosi
DavidSantacruzR
asked this question in
Q&A
|
Hey, I'm just looking the aws powertools, specially the logger, and I ran into an issue when attempting to compile a project. Steps to reproduce:
I am getting the error: Private identifiers are only available when targeting ECMAScript 2015 and higher. node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.d.ts:13 I have setup the target on the tsconfig to be "target": "ES2021" with no luck whatsoever. Has anyone else experienced this issue? |
Answered by
dreamorosi
Jul 22, 2024
Replies: 1 comment 2 replies
|
Hi @DavidSantacruzR, could you please copy the content of the Thank you! |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried to reproduce the issue you described and I was not able to.
Here you can see my setup: https://github.com/dreamorosi/ecmatest