I can't get the module working because of the (I'm guessing) use of ES6 features in your code. What I get when I run my code is an error unexpected token import in index.js:1. I have updated my version of node (now 0.12.5 running on windows 7 64 bits) and I'm using the --harmony flag.
Do you have any insights?
Thanks!
Hi,
I can't get the module working because of the (I'm guessing) use of ES6 features in your code. What I get when I run my code is an error _unexpected token import in index.js:1_. I have updated my version of node (now 0.12.5 running on windows 7 64 bits) and I'm using the --harmony flag.
Do you have any insights?
Thanks!
I'm currently using babel require hook to transpile my code, this will change, a new version is coming with a better API and I will provide transpiled files so you don't have to install babel.
For now, run npm install in the repository root.
I'm currently using babel require hook to transpile my code, this will change, a new version is coming with a better API and I will provide transpiled files so you don't have to install babel.
For now, run `npm install` in the repository root.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
I can't get the module working because of the (I'm guessing) use of ES6 features in your code. What I get when I run my code is an error unexpected token import in index.js:1. I have updated my version of node (now 0.12.5 running on windows 7 64 bits) and I'm using the --harmony flag.
Do you have any insights?
Thanks!
I'm currently using babel require hook to transpile my code, this will change, a new version is coming with a better API and I will provide transpiled files so you don't have to install babel.
For now, run
npm installin the repository root.see the new update.
The requirement isn't stated clearly in the docs, it has to be on the main README.md
@Hunter-Github This is a common task, anyways, added it to README.