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

Syntax Error :Unexpected token #2

Closed
egemenozkan opened this issue Sep 18, 2017 · 2 comments
Closed

Syntax Error :Unexpected token #2

egemenozkan opened this issue Sep 18, 2017 · 2 comments

Comments

@egemenozkan
Copy link

egemen@machine:~$ mcdetect https://google.com
/opt/node/lib/node_modules/mcdetect/bin/mcdetect.js:34
(async() => {
      ^
SyntaxError: Unexpected token (
    at Object.exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:513:28)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:160:18)
    at node.js:449:3
egemen@machine:~$ node --version
v6.2.0

egemen@machine:~$ npm --version
3.8.9

@agis
Copy link
Owner

agis commented Sep 19, 2017

As stated in the README, node 7.6.0 or later is required.

@agis
Copy link
Owner

agis commented Sep 22, 2017

@egemenozkan Let me know if you have further issues. Closing this for now :)

@agis agis closed this as completed Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants