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

Got error when try to run it #28

Open
chihhaohuang opened this issue Nov 1, 2016 · 3 comments
Open

Got error when try to run it #28

chihhaohuang opened this issue Nov 1, 2016 · 3 comments

Comments

@chihhaohuang
Copy link

When try to run observatory after installation, I got the following error.
(Centos 6 with nodejs 0.10.46)

/usr/lib/node_modules/observatory-cli/index.js:124
class Scanner {
^^^

SyntaxError: Unexpected reserved word
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:945:3

@gregglind gregglind added the bug label Nov 1, 2016
@gregglind
Copy link
Contributor

Observatory requires Node 6. I will make sure the package.json an other files reflect that.

Thank you for reporting this!

@gregglind
Copy link
Contributor

Hm! It already requires "engines: node >=6"

It sounds like engineStrict is deprecated.

http://www.marcusoft.net/2015/03/packagejson-and-engines-and-enginestrict.html

@gregglind
Copy link
Contributor

Needsinfo: Anyone know how to actually solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants