So I’m starting out with this app and I’m trying to run an existing React.js project. I’m getting this error:
React index.js weird error
Hi @acrogenesis
That’s because you’re using import * from
instead of require
. Node.js 8.5.0 and above don’t support officially that feature as it’s still experimental.
Is there a way to support it? Or is this something you would have to work on?
Hi @acrogenesis
That’s something I need to give support. I’ll add it to the backlog.
In the meantime you could implement a way of transpiling that to compatible syntax using Babel.
Sorry for the inconvenience.