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

TypeError: Cannot read property 'type' of undefined #2806

Closed
kawikabader opened this issue Sep 24, 2020 · 3 comments
Closed

TypeError: Cannot read property 'type' of undefined #2806

kawikabader opened this issue Sep 24, 2020 · 3 comments

Comments

@kawikabader
Copy link

We are running into an issue that began with v7.21.0.

The issue is that when we attempt to run eslint . --fix, we get the following error: TypeError: Cannot read property 'type' of undefined. Occurred while linting /file/to/be/linted.

If we revert back to v7.20.x, we no longer have this issue.

@viglucci
Copy link

Looks like this commit was intended to fix this issue but somehow didn't make it into v7.21.1?

@viglucci
Copy link

Oh, I see... that commit is marked as unreleased.

@ljharb
Copy link
Member

ljharb commented Sep 24, 2020

Indeed; duplicate of #2804.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants