You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error message is being returned for any method of the Client class:
node:events:498 throw er; // Unhandled 'error' event ^Error: spawn /usr/src/app/node_modules/@gptscript-ai/gptscript/bin/gptscript ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)Emitted 'error' event on ChildProcess instance at: at ChildProcess._handle.onexit (node:internal/child_process:292:12) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /usr/src/app/node_modules/@gptscript-ai/gptscript/bin/gptscript', path: '/usr/src/app/node_modules/@gptscript-ai/gptscript/bin/gptscript', spawnargs: [ '--events-stream-to=fd://3', '--chat-state=null', '/usr/src/app/dist/modules/KubeScriptExecutor/tool.gpt', {...
I have tried on multiple machines, different node versions, and even within a container running the node image. This issue didn't appear until I upgraded to 0.6.0 and refactored things to match the new Client class.
Workaround
Set the GPTSCRIPT_BIN env to the proper location: node_modules/@gptscript-ai/bin/gptscript
The text was updated successfully, but these errors were encountered:
This error message is being returned for any method of the
Client
class:I have tried on multiple machines, different node versions, and even within a container running the
node
image. This issue didn't appear until I upgraded to0.6.0
and refactored things to match the newClient
class.Workaround
Set the
GPTSCRIPT_BIN
env to the proper location:node_modules/@gptscript-ai/bin/gptscript
The text was updated successfully, but these errors were encountered: