Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected reserved word #11793

Closed
ghost opened this issue Mar 10, 2017 · 1 comment
Closed

Unexpected reserved word #11793

ghost opened this issue Mar 10, 2017 · 1 comment
Labels
invalid Issues and PRs that are invalid.

Comments

@ghost
Copy link

ghost commented Mar 10, 2017

Version=v4.2.1
Platform=Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
Subsystem=doesn't say in error code

So I am trying to follow this guide here ->
https://www.instructables.com/id/Raspberry-Pi-2-Homekit-from-zero-to-Hey-Siri/
And when I run node Core.js I get this error.
screen shot 2017-03-10 at 2 50 37 pm

@mscdex
Copy link
Contributor

mscdex commented Mar 10, 2017

In the future, please ask such general questions on the nodejs/help repo issue tracker instead. This issue tracker is for node core bugs, feature requests, etc.

To answer your question though, it looks like the code needs to be ran through a tool like babel to convert the code to something usable in node (the import keyword -- and more importantly, ES6 modules -- is not supported yet in node).

@mscdex mscdex closed this as completed Mar 10, 2017
@mscdex mscdex added the invalid Issues and PRs that are invalid. label Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid.
Projects
None yet
Development

No branches or pull requests

1 participant