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

Cannot read property 'parent' of null #790

Closed
crystalfp opened this issue Oct 27, 2019 · 5 comments
Closed

Cannot read property 'parent' of null #790

crystalfp opened this issue Oct 27, 2019 · 5 comments
Labels
info-needed Issue requires more information from poster upstream

Comments

@crystalfp
Copy link

Issue Type: Bug

Load the attached file, change it, after a while this error appears:
Parsing error: Cannot read property 'parent' of null - eslint [1, 1]

The above error does not appear when running eslint outside VSCode.

eslint.yaml
synonyms.ts
tsconfig.json

Extension version: 1.9.1
VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.81GB (6.76GB free)
Process Argv D:\Projects\CouchDB\CouchDB.code-workspace
Screen Reader no
VM 0%
@RodyGL
Copy link

RodyGL commented Oct 27, 2019

Same error happening to me. I can't continue to use ESLint cause is throwing none existing errors like:

  • Cannot read property 'parent' of nul
  • > can be escaped with >.

Among other errors just by editing or adding files. The only fix for now is reloading vscode like 1000 times a day...

@dbaeumer
Copy link
Member

@crystalfp can you please provide me with a GitHub repository I can clone that demos what you are experiencing. Usually errors like this highly depend on the used npm package versions as well.

@dbaeumer dbaeumer added the info-needed Issue requires more information from poster label Oct 28, 2019
@xg4
Copy link

xg4 commented Oct 30, 2019

It seems that typescript-eslint error typescript-eslint/typescript-eslint#1114

@dbaeumer
Copy link
Member

@xg4 thanlks for pointing this out.

@dbaeumer
Copy link
Member

I will close the issue in favour of typescript-eslint/typescript-eslint#1114

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster upstream
Projects
None yet
Development

No branches or pull requests

4 participants