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

Node not starting on Ubuntu 14.04 LTS #153

Open
SirePi opened this issue Nov 13, 2015 · 1 comment
Open

Node not starting on Ubuntu 14.04 LTS #153

SirePi opened this issue Nov 13, 2015 · 1 comment

Comments

@SirePi
Copy link

SirePi commented Nov 13, 2015

On a new Ubuntu server I get the following error when trying to start Tilestream

/tilestream/node_modules/connect/node_modules/qs/lib/index.js:5
const Stringify = require('./stringify');
^^^^^
SyntaxError: Use of const in strict mode.
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 Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/tilestream/node_modules/connect/lib/middleware/bodyParser.js:13:10)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

using Node 0.10.28;
on another machine with the same Node version, it works without issues.

What might be wrong?

Thanks

@SirePi
Copy link
Author

SirePi commented Nov 13, 2015

Starting node with option --harmony solves the issue, but is it normal?

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

No branches or pull requests

1 participant