InitelliJ Idea, ReactApp and Flow: Unexpected token

88 views Asked by At

Flow displays errors, where there are none. Eg:

errors

Restart with flow stop and flow wont help it.

If I close the file and reopen it, the errors disappear, but other errors appear as I continue coding.

My flow version:

"flow-bin": "^0.125.1"

Any ideas how I can get rid of these annoying errors?

1

There are 1 answers

0
lena On BEST ANSWER

Can be an issue with Flow LSP. Try unchecking javascript.flow.use.lsp in Registry (in Help | Find Action, type Registry... to locate it)