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

SyntaxError: Unexpected token ? #1

Open
alexanderosmith opened this issue Jun 23, 2021 · 1 comment
Open

SyntaxError: Unexpected token ? #1

alexanderosmith opened this issue Jun 23, 2021 · 1 comment

Comments

@alexanderosmith
Copy link

I ran "node ." and got the following error:

`ZRMconnector/connector.js:102
let paper = papers[title] ?? { title }
^

SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/aos11409/ZRMconnector/index.js:4:19)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)`

I'm unsure if this is my fault in setting up the connectors.json or if this is a error in the main code. Any ideas?

@hugodecasta
Copy link
Owner

yeah you need at least node 15 to run this one

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

No branches or pull requests

2 participants