Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KnightKilito opened this issue Mar 29, 2022 · 2 comments

Comments

@KnightKilito
Copy link

[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
Copy link

a1014068504 commented Mar 29, 2022 via email

@KnightKilito
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants