Syntax Errors Blocking Parse
Closed this issue · 0 comments
sdzaveri commented
Hello! I installed and used dependency report about a month ago and now that I'm running it again, I'm finding that the parser is finding much more syntax errors and therefore erroring out on a lot more files. Some of the problematic lines is the first line from (character 12):
About = 0,
Contributor = 1
}
and the first line from, (character 10)
const newEditables = this.state.boxEditables.map((v, idx) => {
return idx === boxNum ? editable : v;
});
this.setState({
boxEditables: newEditables
});
both of which haven't changed since I last ran it. I looked into if an upgrade to babel-parser
might have caused this and tried to downgrade to 7.6.0
with no luck.
I attempted to add errorRecovery: true
in the recast
babelOptions
, which is a new feature from babel-parser
7.7.0
, but no luck there either.
Any idea what might be causing these new syntax errors and how to fix them?