koishijs / novelai-bot

Generate images by NovelAI | 基于 NovelAI 的画图机器人
https://bot.novelai.dev
MIT License
2.49k stars 204 forks source link

fix: libsodium import error with sumo version #195

Closed MaikoTan closed 1 year ago

MaikoTan commented 1 year ago

fix #181 fix #196

MaikoTan commented 1 year ago

Need people with NovelAI account to test this PR before merging it.

kamiiroawase commented 1 year ago

how?

MaikoTan commented 1 year ago

how?

Assuming you are using the koishi-boilerplate as the development environment:

  1. Clone novelai-bot repo locally:
$ git clone https://github.com/koishijs/novelai-bot.git ./external/novelai-bot
  1. Set branch to the current PR
$ git -C ./external/novelai-bot checkout fix/use-libsodium-sumo
  1. Install dependencies and build
$ yarn && yarn build
  1. Run Koishi in development mode
$ yarn dev

You can learn more in Koishi Official Website

kamiiroawase commented 1 year ago

2023-04-12 21:06:58 [I] app apply plugin novelai:3el8u1 2023-04-12 21:06:58 [E] app cannot resolve plugin "novelai