BuilderIO / BuilderIO/ai-shell

Error when running sudo ai config set OPENAI_KEY=<my openi key goes here>

Open
#97 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
377
PR merge metrics
No merged PRs in 30d

Description

Getting the following error

file:///usr/local/lib/node_modules/@builder.io/ai-shell/dist/cli.mjs:1079
const value = cliConfig?.[key] ?? config[key];
^

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.