-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Reproduction:
- use Node.js v12 (e.g.
nvm use v12) - start the validator node with
npm start - run into this:
npm start
> oracle-validator-node@2.1.0 start
> npm run build && node 'dist/src/main.js' start
> oracle-validator-node@2.1.0 build
> tsc -p .
/home/ubuntu/fluxprotocol/oracle-validator-node/dist/src/config.js:20
exports.DB_PATH = process.env.DB_PATH ?? './';
^
SyntaxError: Unexpected token '?'
Recommended action: adjust tsc build config so that the nullish coalescing operator (??) is supported.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers