Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants