Reference Error "X is not defined"
See original GitHub issue@leonardfactory @wtho
When working with Nestjs and aws sdk, any injections of AWS sdk are not being tranformed properly. I think the issue is somewhere in here. when the condition expression fails for typeof Type === 'undefined' ? Object : Type
it falls back to default type which for example is AWS.S3
and later js has no idea of how to resolve AWS
.
reproduction of the issue is here. The original issue was filed in babel repro as #12150
Happy to work on this, but will need more guidence on what actually needs to be fixed.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
ReferenceError: "x" is not defined. The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere.
Read more >ReferenceError: "x" is not defined - JavaScript
There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in...
Read more >javascript - Uncaught ReferenceError: x is not defined
The user input is delegated to a separate function so that I may expand the program to subtraction, multiplication and division without ...
Read more >What's ReferenceError: x is not defined in JavaScript? - Frendly
The ReferenceError is an error thrown by the JavaScript engine when it looks to find a variable or function within the available scope...
Read more >ReferenceError: "x" is not defined - Javascript
There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need make sure it is available in your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@leonardfactory Yeah, it’s working. Thanks.
Hi @whimzyLive! v0.3.1 is out, let me know if it’s working right now so we can close the issue