Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upError when using async/await #439
Comments
This comment has been minimized.
This comment has been minimized.
|
I was wrong, it is reacting when I change the parser. I have it now set to |
This comment has been minimized.
This comment has been minimized.
|
I finally figured why it was happening. It appered that I had another package.json in one of my subdirectories which had no |
ilearnio
closed this
Feb 24, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ilearnio commentedFeb 24, 2016
I have such code
which gives me "Parsing error: Unexpected token query (null)".
Currently, I'm using the default parser. I thought it was the reason for this error, so I set
"parser"to"babel-eslint". But it does not help. It seems that it's not even reacting when I change the"parser"option in my package.json. I even tried to set any random value to it but the linter is working like nothing happened.How do I set the babel-eslint parser properly? Or maybe the problem is in something else?
Thanks