egoist / egoist/shell-ask

SyntaxError: Unexpected token '.'

Open
#23 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
443
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've just installed shell-ask but get the following error when I run anything. Do you know why?

```
ask "get git logs first line only"

file:///usr/local/lib/node_modules/shell-ask/dist/cli.js:194
...globalConfig?.commands || [],
^

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.