I’m including a module in my project that is throwing an error. It appears to be failing to parse a coalescing operator: options.token = options.token ?? uuid.v4()
I’ve tested putting this operator in my code and it works; is there something special about it being included through a module?
Exception:
W20210407-13:41:54.400(-4)? (STDERR) SyntaxError: Unexpected token '?'
W20210407-13:41:54.400(-4)? (STDERR) at wrapSafe (internal/modules/cjs/loader.js:915:16)
W20210407-13:41:54.400(-4)? (STDERR) at Module._compile (internal/modules/cjs/loader.js:963:27)