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

Error parsing TypeScript checks - baseVisitor[type] is not a function #440

Closed
clample opened this issue Jan 30, 2023 · 0 comments · Fixed by #453
Closed

Error parsing TypeScript checks - baseVisitor[type] is not a function #440

clample opened this issue Jan 30, 2023 · 0 comments · Fixed by #453
Assignees
Labels
bug Something isn't working

Comments

@clample
Copy link
Collaborator

clample commented Jan 30, 2023

Some TypeScript checks can trigger the following error:

17:25:14 › npx checkly test add_private_location.spec.ts
    Error: Encountered an error parsing check files for 
    add_private_location.spec.ts.

    The following files couldn't be parsed:
        PrivateLocationPom.ts - baseVisitor[type] is not a function

After some initial investigation, it looks like this is related to acorn-walk: acornjs/acorn#829. We likely need to add handlers for all of the TypeScript specific AST nodes.

@clample clample added the bug Something isn't working label Jan 30, 2023
@clample clample self-assigned this Jan 30, 2023
@umutuzgur umutuzgur assigned umutuzgur and unassigned clample Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants