Closed JayKan closed 7 years ago
Hey Jay,
async/await is only available in node v7+ What node version are you running?
@alexcastillo,
I was running on node 6.5. Let me get back to you once I've tested on node v7+.
@alexcastillo,
Apparently, only node 7.6.0 >= supports async/await functionality. I've tried node 7.2 - 7.5 and I was getting the similar error. However, once I've upgraded my node to 7.6.0 >=, there isn't any issue running npm start
.
Should I add a prerequisites section on README to indicate that you must use node version >= 7.6 under development, and a .nvmrc
file to lock the node version for local development? I think this will avoid any issues when new community members try to contribute. Let me know what you think!
Sure, feel free to submit a PR with those updates. Would also recommend adding "engines" in package.json.
See commit #577b4a29548ac7d72da0b9b746a837dc6c7ef695
@alexcastillo,
That's good to know. With adding engines
property on package.json, I don't think we will need a .nvmrc
file. Anyways I will send a PR to update the README :)
@alexcastillo,
When running
npm start
, I was getting syntax errors that relatesasync start()
locally. However, when I created a brand new node project and installopenbci-rx
as its dependencies and run, everything is working as expected. Please find attached screenshot for the detailed error:It would be great if you can run via the example demos locally, maybe there are additional steps that I'm not aware in order to run examples locally, please let me know!