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

? options.defaults[mode] ?? options.defaults["all"] #3

Open
shouer-kong opened this issue May 29, 2023 · 0 comments
Open

? options.defaults[mode] ?? options.defaults["all"] #3

shouer-kong opened this issue May 29, 2023 · 0 comments

Comments

@shouer-kong
Copy link

I encountered the following problem while trying to run the code. How can I solve it?

/opt/gpt/gpt4-with-calc/lib/engine/options.js:208
                            ? options.defaults[mode] ?? options.defaults["all"]
                                                      ^

SyntaxError: Unexpected token ?
    at new Script (vm.js:79:7)
    at createScript (vm.js:251:10)
    at Object.runInThisContext (vm.js:303:10)
    at Module._compile (internal/modules/cjs/loader.js:656:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at require (internal/modules/cjs/helpers.js:20:18)

My operating environment:
ubuntu 20.04
npm 6.4.1
nodejs 10.13.0

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

1 participant