PawanOsman / ChatGPT

OpenAI API Free Reverse Proxy
https://discord.pawan.krd
GNU Affero General Public License v3.0
5.62k stars 991 forks source link

The "file" argument must be of type string #95

Closed BlackusPL closed 7 months ago

BlackusPL commented 7 months ago

Can't run newest version on termux `node:child_process:548 validateString(file, 'file'); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received null at normalizeSpawnArguments (node:child_process:548:3) at spawn (node:child_process:754:13) at file:///data/data/com.termux/files/home/ChatGPT/dist/app.js:321:23 at new Promise () at StartCloudflaredTunnel (file:///data/data/com.termux/files/home/ChatGPT/dist/app.js:320:12) at Server. (file:///data/data/com.termux/files/home/ChatGPT/dist/app.js:351:27) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 'ERR_INVALID_ARG_TYPE' }

Node.js v21.6.2`

jeffery9 commented 7 months ago

add config CLOUDFLARED=false in .env