Skip to content

Error: spawn UNKNOWN, errno: -4094, code: 'UNKNOWN', syscall: 'spawn' #47

@arasuludag

Description

@arasuludag

I have set up the project, gave it all the permissions, created an "Account Activity/APISandbox" for it and entered the .env file properly. I used the example code on here and here. I'm getting this error.

Getting webhooks…
Removing webhooks…
Error: spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:412:11)
at spawn (node:child_process:698:9)
at startProcess (D:\Documents\Web Development\Twitter Autohook Example\node_modules\ngrok\process.js:39:16)
at getProcess (D:\Documents\Web Development\Twitter Autohook Example\node_modules\ngrok\process.js:23:20)
at Object.connect (D:\Documents\Web Development\Twitter Autohook Example\node_modules\ngrok\index.js:16:22)
at Autohook.start (D:\Documents\Web Development\Twitter Autohook Example\node_modules\twitter-autohook\index.js:272:31)
at D:\Documents\Web Development\Twitter Autohook Example\index.js:12:19
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4094,
code: 'UNKNOWN',
syscall: 'spawn'
}

I've been trying to figure it out but no luck unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions