AutumnWhj / ChatGPT-wechat-bot

ChatGPT for wechat https://github.com/AutumnWhj/ChatGPT-wechat-bot
MIT License
4.68k stars 980 forks source link

Excuse me, what is this question? #128

Open 1378056564 opened 1 year ago

1378056564 commented 1 year ago

Debugger listening on ws://127.0.0.1:9229/18b3042a-ed92-4be0-a0c4-cd07431f25f6 For help, see: https://nodejs.org/en/docs/inspector (node:7981) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time (Use node --trace-warnings ... to show where the warning was created) Error: Invalid environment: global fetch not defined at file:///www/wwwroot/ChatGPT-wechat-bot/node_modules/chatgpt/src/fetch.ts:6:9 at ModuleJob.run (node:internal/modules/esm/module_job:183:25) at async Loader.import (node:internal/modules/esm/loader:178:24) at async Object.loadESM (node:internal/process/esm_loader:68:5) at async handleMainPromise (node:internal/modules/run_main:63:12) node -v 16.9.0 npm -v 9.4.1 please help me,thanks

simaqian commented 1 year ago

update node version to 18 and retry