Skip to content

syntaxerror #44

@alvitawa

Description

@alvitawa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions