BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.04k stars 257 forks source link

Unexpected token < in JSON at position 0 #30

Closed panw3i closed 1 year ago

panw3i commented 1 year ago
✖ Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at generateCompletion (file:///Users/pan/.nvm/versions/node/v16.15.0/lib/node_modules/@builder.io/ai-shell/dist/cli.mjs:211:38)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async getScriptAndInfo (file:///Users/pan/.nvm/versions/node/v16.15.0/lib/node_modules/@builder.io/ai-shell/dist/cli.mjs:168:18)
    at async prompt (file:///Users/pan/.nvm/versions/node/v16.15.0/lib/node_modules/@builder.io/ai-shell/dist/cli.mjs:427:36)

    ai-shell v0.1.6

    Please open a Bug report with the information above:
    https://github.com/BuilderIO/ai-shell/issues/new
steve8708 commented 1 year ago

shipped in v0.1.8!