hobk / chatgpt-telebot

基于chatGPT使用nodejs搭建的telegram机器人
195 stars 53 forks source link

搭建过程中出现这些问题咋办 #1

Open jiangbeth opened 1 year ago

jiangbeth commented 1 year ago

image npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

hobk commented 1 year ago

尝试升级你的nodejs版本

jiangbeth commented 1 year ago

我用的最新版的

jiangbeth commented 1 year ago

image

jiangbeth commented 1 year ago

这个搭建完后是不是关掉ssh终端后,就不能运行了

hobk commented 1 year ago

可以安装pm2 (npm i pm2 -g) pm2 start index.js