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 #44

Open
alvitawa opened this issue Jun 2, 2024 · 0 comments
Open

syntaxerror #44

alvitawa opened this issue Jun 2, 2024 · 0 comments

Comments

@alvitawa
Copy link

alvitawa commented Jun 2, 2024

I got this error after install:

(sw) ook@ook-tux:~/work/cvscooter (master)$ npx commitgpt
file:///home/ook/.npm/_npx/de3899c053a47706/node_modules/commitgpt/dist/index.js:31
    console.log("Error: " + e.message, e.cause ?? "");
                                                ^

SyntaxError: Unexpected token '?'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)

Not familiar with npx or how to debug.

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