Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile when using get method which not from container #15

Open
miello opened this issue Jan 23, 2024 · 0 comments
Open

Failed to compile when using get method which not from container #15

miello opened this issue Jan 23, 2024 · 0 comments

Comments

@miello
Copy link

miello commented Jan 23, 2024

Description

This problem happens when we use variable which contains get method

Minimal reproducible example

https://github.com/miello/poc-issue-what-the-dep/tree/main

Logs

26652 |   }
26653 |   function isDebuggerStatement(node) {
26654 |     return node.kind === 259 /* DebuggerStatement */;
26655 |   }
26656 |   function isVariableDeclaration(node) {
26657 |     return node.kind === 260 /* VariableDeclaration */;
                   ^
TypeError: undefined is not an object (evaluating 'node.kind')
      at isVariableDeclaration (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:26657:12)
      at m (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:8425)
      at visitNode (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87169:21)
      at visitEachChildOfExpressionStatement (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88018:32)
      at visitEachChild (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87419:35)
      at m (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:9698)
      at visitArrayWorker (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87231:51)
      at visitNodes2 (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87202:21)
      at visitLexicalEnvironment (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87258:18)
      at visitEachChildOfSourceFile (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88447:13)
      at visitEachChild (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87419:35)
      at m (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:9698)
      at visitNode (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87169:21)
      at N (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:9734)
      at l (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:11445)
      at visitNode (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87169:21)
      at visitEachChildOfVariableDeclaration (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88128:13)
      at visitEachChild (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87419:35)
      at l (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:11917)
      at visitArrayWorker (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87231:51)
      at visitNodes2 (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87202:21)
      at visitEachChildOfVariableDeclarationList (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88134:13)
      at visitEachChild (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87419:35)
      at l (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:11917)
      at visitNode (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87169:21)
      at visitEachChildOfVariableStatement (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88012:32)
      at visitEachChild (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87419:35)
      at l (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/@softnetics/what-the-dep/dist/chunk-5EBQ5Y5L.cjs:1:11917)
      at visitArrayWorker (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87231:51)
      at visitNodes2 (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87202:21)
      at visitLexicalEnvironment (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:87258:18)
      at visitEachChildOfSourceFile (/home/miello/project/softnetic/poc-issue-what-the-dep/node_modules/typescript/lib/typescript.js:88447:13)
@miello miello changed the title Failed to compile when using get method Failed to compile when using get method which not from container Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant