Discordjs error when executing index.js

Hi! I'm trying to execute my nodejs file but it throws this error when I try to, I was wondering if anyone knew what could be causing it? Thanks

Specs:
CentOS 7
djs v14.6.0
nodejs 6.14.17

Full error:
[root@vps-c79e2475 discord]# node index.js
/workspace/discord/node_modules/@discordjs/util/dist/index.js:34
  return () => defaultValue ??= cb();
                            ^^^

SyntaxError: Unexpected token '??='
    at wrapSafe (internal/modules/cjs/loader.js:1001:16)
    at Module._compile (internal/modules/cjs/loader.js:1049:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)
    at Object.<anonymous> (/workspace/discord/node_modules/@discordjs/rest/dist/index.js:276:19)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
Was this page helpful?