Coder Social home page Coder Social logo

xueelf / yumemi_bot Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 4.0 58.72 MB

まるで、夢みたい...

Home Page: https://yumemi.yuki.sh

License: GNU General Public License v3.0

TypeScript 19.89% JavaScript 80.11%
qqbot princess-connect-redive robot oicq nodejs

yumemi_bot's Introduction

yuki

while (alive) {
  eat();
  sleep();
  code();
}

kyubey Links

bilibili weibo twitter

あの世行きのバスに乗ってさらば。

yumemi_bot's People

Contributors

xueelf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yumemi_bot's Issues

运行中意外退出

[2021-08-28T20:19:51.121] [DEBUG] [yumemi bot log] - Process GET /
[2021-08-28T20:19:51.181] [DEBUG] [yumemi bot log] - Process GET /error
[2021-08-28T20:19:51.281] [DEBUG] [yumemi bot log] - Process GET /favicon.ico
[2021-08-28T20:19:51.330] [DEBUG] [yumemi bot log] - Process GET /error
[2021-08-28T20:19:53.114] [DEBUG] [yumemi bot log] - Process GET /error
[2021-08-28T20:19:53.191] [DEBUG] [yumemi bot log] - Process GET /favicon.ico
[2021-08-28T20:19:53.249] [DEBUG] [yumemi bot log] - Process GET /error

检测到nginx使用80端口造成冲突,是否可以默认成其他端口

sqlite3 未找到模块

[root@VM-4-17-centos yumemi_bot]# npm start

[email protected] start /root/bot/yumemi_bot
node ./dist/index.js


                                                                         _         
  \    / _  | |  _  _  ._ _   _    _|_  _    \_/    ._ _   _  ._ _  o   |_)  _ _|_ 
   \/\/ (/_ | | (_ (_) | | | (/_    |_ (_)    | |_| | | | (/_ | | | |   |_) (_) |_ 

[2021-08-26T22:09:43.268] [MARK] [yumemi bot log] - ----------
[2021-08-26T22:09:43.269] [MARK] [yumemi bot log] - Package Version: [email protected] (Released on 2021/7/25)
[2021-08-26T22:09:43.269] [MARK] [yumemi bot log] - View Changelogs:https://docs.yumemi.moe/#/changelog/
[2021-08-26T22:09:43.269] [MARK] [yumemi bot log] - ----------
(node:523316) UnhandledPromiseRejectionWarning: Error: Cannot find module '/root/bot/yumemi_bot/node_modules/sqlite3/lib/binding/napi-v3-linux-x64/node_sqlite3.node'
Require stack:

  • /root/bot/yumemi_bot/node_modules/sqlite3/lib/sqlite3-binding.js
  • /root/bot/yumemi_bot/node_modules/sqlite3/lib/sqlite3.js
  • /root/bot/yumemi_bot/dist/sqlite.js
  • /root/bot/yumemi_bot/services/web/router/api.js
  • /root/bot/yumemi_bot/services/web/router/index.js
  • /root/bot/yumemi_bot/services/web/index.js
  • /root/bot/yumemi_bot/dist/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object. (/root/bot/yumemi_bot/node_modules/sqlite3/lib/sqlite3-binding.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    (Use node --trace-warnings ... to show where the warning was created)
    (node:523316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    (node:523316) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    [2021-08-26T22:09:43.431] [WARN] [yumemi bot log] - Error:
    Something went wrong installing the "sharp" module

Cannot find module '../build/Release/sharp.node'
Require stack:

  • /root/bot/yumemi_bot/node_modules/sharp/lib/constructor.js

  • /root/bot/yumemi_bot/node_modules/sharp/lib/index.js

  • /root/bot/yumemi_bot/plugins/guess/index.js

  • /root/bot/yumemi_bot/dist/plugin.js

  • /root/bot/yumemi_bot/dist/index.js

  • Remove the "node_modules/sharp" directory then run
    "npm install --ignore-scripts=false --verbose sharp" and look for errors

  • Consult the installation documentation at https://sharp.pixelplumbing.com/install

  • Search for this error at https://github.com/lovell/sharp/issues

    at Object. (/root/bot/yumemi_bot/node_modules/sharp/lib/constructor.js:32:9)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object. (/root/bot/yumemi_bot/node_modules/sharp/lib/index.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)

看不懂,泪目🤣🤣

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.