Skip to content

Conversation

@curb47
Copy link
Contributor

@curb47 curb47 commented Sep 26, 2020

No description provided.

Collin Brown and others added 7 commits June 6, 2019 16:27
Fix for 
```
/opt/gateway/src/server.js:3
const cluster  = require('cluster'),
^^^^^
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.<anonymous> (/opt/gateway/src/server_application.js:1:85)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
```
This reverts commit 531a9a7.
@tgerhard
Copy link
Collaborator

I could not get this running. Node 0.10.48 does not support ES6. (let support was added in Node.js 4.x.)

Higher versions of node have other issues:
Cannot find module '../build/default/xor',
Store.prototype.__proto__ = EventEmitter.prototype; TypeError: Cannot read property 'prototype' of undefined,
...

What am I missing here?

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

Successfully merging this pull request may close these issues.

3 participants