Closed shantanoo-desai closed 5 years ago
return { ...result._doc };
Throws a SyntaxError: Unknown Token. The repository does not provide any .babelrc for ECMA6Script configuration.
SyntaxError: Unknown Token
.babelrc
Webstorm 2018.3 / Windows 10
This bug is not related to any particular IDE but from Node itself
Related StackExchange Query
Problem can be solved by upgrading node version from v8.0.0 to v10.5.0 and setting up Babel transpiling files and packages mentioned in the StackExchange Query's Answer.
node
v8.0.0
v10.5.0
Usage
Throws a
SyntaxError: Unknown Token
. The repository does not provide any.babelrc
for ECMA6Script configuration.IDE/OS
Webstorm 2018.3 / Windows 10
This bug is not related to any particular IDE but from Node itself
Related StackExchange Query