takayama-lily / node-onebot

MIT License
255 stars 70 forks source link

第一次git clone之后运行node main 会自动删除所有js文件 #52

Open KnightKilito opened 2 years ago

KnightKilito commented 2 years ago
[root@Yui node-onebot]# node main xxxxxxxxx
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module '/root/node-onebot/main'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

看了眼onebot文件夹,里面的lib文件夹、以及config.js都被自动删除了,我重复clone也会这样

我想对接青龙面板的sillyGirl,是我其他地方有问题吗

a1014068504 commented 2 years ago

邮件已收到~

KnightKilito commented 2 years ago

我之前对接过正常,然后服务器换系统重新来一遍就这样