yoimiya-kokomi / miao-yunzai Goto Github PK
View Code? Open in Web Editor NEW喵版Yunzai-V3
License: GNU General Public License v3.0
喵版Yunzai-V3
License: GNU General Public License v3.0
�[32m[MiaoYz][22:23:10.343][INFO]�[39m recv from: [Group: 11451(114), Member: x(x)] {image:4614ECEAD27F18876B270DD1103C112D}
0b46f21fbe096b63e430d2296f279f4febf8acb9.jpeg
[ { status: 'fulfilled', value: undefined } ]
�[32m[MiaoYz][22:23:11.558][INFO]�[39m succeed to send: [Group(x)] [图片]
请问这个能不能查看来源,感觉应该是插件干的(?)但是没显示是哪个插件又不太方便定位
elaine@elaine:~/Miao-Yunzai$ pnpm config set registry https://registry.npmmirror.com
pnpm install -P
Scope: all 2 workspace projects
plugins/miao-plugin | WARN deprecated [email protected]
plugins/miao-plugin | WARN deprecated [email protected]
plugins/miao-plugin | WARN deprecated [email protected]
WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
Packages: +441
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
node_modules/.pnpm/[email protected]/node_modules/puppeteer: Running postinstall node_modules/.pnpm/[email protected]/node_modules/puppeteer: Running postinstall script, failed in 17.5s reused 647, downloaded 0, added 0, done
.../node_modules/puppeteer postinstall$ node install.js
└─ Failed in 17.5s at /home/elaine/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/puppeteer
Progress: resolved 648, reused 647, downloaded 0, added 0, done
ELIFECYCLE Command failed with exit code 1.
换了好几个飞机场都不行。。该怎么解决
服务器位置在东京,亚马逊云的,好像是无法链接到国内吧,还是服务器上的问题?不能更新面板,三个都换过了,请问如何解决
QQ消息
更新面板失败,当前面板服务enka.network,
可能是面板服务维护中,请稍后重试...
`面板请求错误 FetchError: request to https://profile.microgg.cn/api/uid/xxxx/ failed, reason: write EPROTO 140304844597184:error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1565:SSL alert number 80
at ClientRequest.<anonymous> (file:///home/ubuntu/Miao-Yunzai/node_modules/node-fetch/src/index.js:108:11)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
type: 'system',
errno: 'EPROTO',
code: 'EPROTO',
erroredSysCall: 'write'`
例如,皇女本来带的若水,打深渊把若水给了夜兰,圣遗物也扒给其他人了,皇女并没有上场,打完深渊使用 #上传深渊 功能后,皇女面板中的武器就不是若水了,但圣遗物却没变,其他角色也是如此,不知道怎么回事
想把原来的yunzai换成喵喵版 之前使用docker compose部署的 喵喵版有构建好的镜像嘛
>
改密码,退设备,关手机电脑同步在线,再改一次密码登录上去,此方法摘自同受害者的分享,目前只有MacOS和iPad协议能登录上去,此方法仅供参考,实际情况请以控制台输出结果为准,使用此方法前请先备份devices.json文件以防万一。
Originally posted by @kirin-667 in #74 (comment)
操作失败!
Error: Command failed: pnpm start
[PM2][ERROR] Process 0 not found
Process 0 not found
C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1717
acted.push(proc.pm2_env ? proc.pm2_env.pm_id : proc.pm_id)
^
TypeError: Cannot read properties of undefined (reading 'pm2_env')
at C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1717:25
at Array.forEach ()
at API.speedList (C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1716:18)
at C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\binaries\CLI.js:301:15
at wrapper (C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\once.js:12:16)
at replenish (C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\eachOfLimit.js:76:25)
at iterateeCallback (C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\eachOfLimit.js:65:17)
at C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\onlyOnce.js:12:16
at C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\binaries\CLI.js:292:11
at C:\yunzaiv3\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:330:21
at ChildProcess.exithandler (node:child_process:400:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1093:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
疑似是pnpm版本问题
我可以从Yunzai迁移到Miao-Yunzai吗? 如果可以的话我迁移时应该保留那些文件才不会丢失用户数据
更新失败!存在冲突:
Error: Command failed: git pull --no-rebase
error: Your local changes to the following files would be overwritten by merge:
package.json
Please commit your changes or stash them before you merge.
Aborting
请解决冲突后再更新,或者执行#强制更新,放弃本地修改
[MiaoYz][12:05:01.553][ERRO] FetchError: request to https://bbs-api-static.mihoyo.com/post/wapi/getNewsList?gids=2&page_size=10&type=1 failed, reason: read ECONNRESET
是API失效还是怎么了,有关闭自动推送任务的命令吗?
运行环境:Docker
日志如下(相关账号信息已脱敏):
2023-03-14 19:04:34 [MiaoYz][19:04:34.853][INFO] recv from: [Private: *********(friend)] #米游社登录
2023-03-14 19:04:34 [MiaoYz][19:04:34.858][MARK] [米游社公告][mysSearch][私聊][敏感信息打码(*********)] #米游社登录
2023-03-14 19:04:36 [MiaoYz][19:04:36.376][MARK] [图片生成][mysNews][2次] 550.03kb
2023-03-14 19:04:36 [MiaoYz][19:04:36.483][MARK] [图片生成][mysNews][3次] 360.99kb
2023-03-14 19:04:36 [MiaoYz][19:04:36.486][MARK] [图片生成][mysNews] 处理完成
2023-03-14 19:04:36 [MiaoYz][19:04:36.978][WARN] 图片1上传失败, reason: 上传遇到网络错误
2023-03-14 19:04:36 [
2023-03-14 19:04:36 {
2023-03-14 19:04:36 status: 'rejected',
2023-03-14 19:04:36 reason: ApiRejection { code: -120, message: '上传遇到网络错误' }
2023-03-14 19:04:36 },
2023-03-14 19:04:36 { status: 'fulfilled', value: undefined }
2023-03-14 19:04:36 ]
2023-03-14 19:04:37 [MiaoYz][19:04:37.088][ERRO] ApiRejection { code: -120, message: '上传遇到网络错误' }
2023-03-14 19:04:37 [MiaoYz][19:04:37.088][MARK] [米游社公告][mysSearch] #米游社登录 处理完成 2228ms
2023-03-14 19:04:55 [MiaoYz][19:04:55.987][INFO] recv from: [Private: *********(friend)] #雷神面板
2023-03-14 19:04:55 [MiaoYz][19:04:55.990][MARK] [喵喵:角色面板][profileDetail][私聊][敏感信息打码(*********)] #雷神面板
2023-03-14 19:04:58 [MiaoYz][19:04:58.148][MARK] [图片生成][miao-plugin/character/profile-detail][4次] 444.64kb 2109ms
2023-03-14 19:04:58 [MiaoYz][19:04:58.316][WARN] 图片1上传失败, reason: 上传遇到网络错误
2023-03-14 19:04:58 [
2023-03-14 19:04:58 {
2023-03-14 19:04:58 status: 'rejected',
2023-03-14 19:04:58 reason: ApiRejection { code: -120, message: '上传遇到网络错误' }
2023-03-14 19:04:58 }
2023-03-14 19:04:58 ]
2023-03-14 19:04:58 [MiaoYz][19:04:58.618][INFO] succeed to send: [Private(*********)] [图片]
2023-03-14 19:04:58 [MiaoYz][19:04:58.619][MARK] [喵喵:角色面板][profileDetail] #雷神面板 处理完成 2626ms
过一段时间机器人就会token过期,怎么办?
[MiaoYz][02:32:49.517][MARK] Welcome, 1 ! 正 在 加 载 资 源 ...
[MiaoYz][02:32:54.519][MARK] 加 载 了 6个 好 友 , 3个 群 , 0个 频 道 , 0个 陌 生 人
[MiaoYz][02:32:54.520][MARK] ----^^----
[MiaoYz][02:32:54.520][MARK] Miao-Yunzai 上 线 成 功 版 本 v3.0.1
[MiaoYz][02:32:54.520][MARK] https://github.com/yoimiya-kokomi/Miao-Yunzai
[MiaoYz][02:32:54.525][INFO] 加 载 插 件 中 ..
[MiaoYz][02:32:54.529][ERRO] [ErrorReply: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.]
[MiaoYz][02:32:54.530][ERRO] [ErrorReply: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.]
[MiaoYz][02:32:54.836][INFO] ---------^^---------
[MiaoYz][02:32:54.836][INFO] 喵 喵 插 件 2.3.6初 始 化 ~
[MiaoYz][02:32:54.877][INFO] 加 载 定 时 任 务 [1个 ]
[MiaoYz][02:32:54.877][INFO] 加 载 插 件 完 成 [15个 ]
[MiaoYz][02:32:54.877][INFO] -----------
[12:55:00.170][ERRO] 定时任务报错:米游社公告推送任务
[12:55:00.171][ERRO] TypeError: Cannot read properties of undefined (reading 'gl')
at MysNews.sendNews (file:///C:/111/Miao-Yunzai/plugins/genshin/model/mysNews.js:326:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MysNews.mysNewsTask (file:///C:/111/Miao-Yunzai/plugins/genshin/model/mysNews.js:307:11)
at async mysNews.mysNewsTask (file:///C:/111/Miao-Yunzai/plugins/genshin/apps/mysNews.js:71:5)
at async Job.job (file:///C:/111/Miao-Yunzai/lib/plugins/loader.js:604:48)
[13:00:00.598][ERRO] 定时任务报错:米游社公告推送任务
[13:00:00.599][ERRO] TypeError: Cannot read properties of undefined (reading 'gl')
at MysNews.sendNews (file:///C:/111/Miao-Yunzai/plugins/genshin/model/mysNews.js:326:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async MysNews.mysNewsTask (file:///C:/111/Miao-Yunzai/plugins/genshin/model/mysNews.js:307:11)
at async mysNews.mysNewsTask (file:///C:/111/Miao-Yunzai/plugins/genshin/apps/mysNews.js:71:5)
at async Job.job (file:///C:/111/Miao-Yunzai/lib/plugins/loader.js:604:48)
今天刚出现的,上次公告推送正常
QQ 登录比较麻烦(小号、扫码、要求和设备同局域网..)
对于单纯只想查询原神面板信息的用户来说,提供 Web 操作界面能够极大的简化部署难度
参考 https://github.com/117503445/yunzai-bot-web,我移除了 Yunzai-Bot 对 QQ 的依赖,从而实现了一键部署
//有一个R插件可以解析分享的b站视频, 但是只能解析纯文本链接,不能解析b站分享到qq的小程序形式,调试后找到了原因
//这种消息,e.msg是undefine,需要在e.message里面取出json数据
lib/plugin/loader.js文件中, 240行处我做了如下修改,
//定义一个msg消息变量,默认值为e.msg
let msg = e.msg
if (e.post_type == 'message') {
if (e.message.length == 1) {
if (e.message[0].type == 'json') {
//取出json数据
msg = e.message[0].data
}
}
//在之后的代码中用msg变量替换e.msg
//还有就是好友发送的b站小程序分享能识别,在好友分享的基础上转发就不进事件循环,大佬们试试呢我不太会js
发送“绑定ck”后,机器人会回复:“请【私聊】发送米游社cookie,获取教程:docs.qq.com/doc/DUWNVQVFTU3liTVlO”。
如果按照链接对应的腾讯文档操作,yunzai无法与获得的cookie绑定成功。
以edge浏览器为例,现在的操作是:
docker 部署
重新打包的镜像在拉取py插件和xiaoyao图鉴插件的时候都会出现这个错误
================
miao-yunzai | [信息] 更新 py-plugin 运行依赖
miao-yunzai | ================
miao-yunzai |
miao-yunzai | ERR_PNPM_INCLUDED_DEPS_CONFLICT modules directory (at "/app/Miao-Yunzai") was installed with optionalDependencies, dependencies. Current install wants optionalDependencies, dependencies, devDependencies.
尝试把docker/docker-entrypoint.sh 脚本文件中的pnpm install -P 修改为 pnpm install 未解决
在gitee上看到大佬回复
https://gitee.com/yoimiya-kokomi/Yunzai-Bot/issues/I6UYG7
疑似pnpm版本过高出现的问题
更新后使用node app都会报这个错误
[MiaoYz][11:23:31.760][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
[MiaoYz][11:23:31.766][MARK] 监听事件错误:message.js
[MiaoYz][11:23:31.766][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
[MiaoYz][11:23:31.768][MARK] 监听事件错误:notice.js
[MiaoYz][11:23:31.769][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
[MiaoYz][11:23:31.773][MARK] 监听事件错误:offline.js
[MiaoYz][11:23:31.776][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
[MiaoYz][11:23:31.778][MARK] 监听事件错误:online.js
[MiaoYz][11:23:31.778][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
[MiaoYz][11:23:31.782][MARK] 监听事件错误:request.js
[MiaoYz][11:23:31.785][ERRO] TypeError: rendererFn is not a function
at registerRendererBackends (file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:23:20)
at async file:///home/user/Miao-Yunzai/lib/renderer/Renderer.js:32:1
跟踪后发现相关代码如下
let rendererBackends = {}
async function registerRendererBackends () {
const subFolders = fs.readdirSync(`${process.cwd()}/renderers`, { withFileTypes: true }).filter((dirent) => dirent.isDirectory())
for (let subFolder of subFolders) {
let name = subFolder.name
const rendererFn = await Data.importDefault(`/renderers/${name}/index.js`)
let configFile = `./renderers/${name}/config.yaml`
let rendererCfg = {}
if (fs.existsSync(configFile)) {
try {
rendererCfg = yaml.parse(fs.readFileSync(configFile, 'utf8'))
} catch (e) {
rendererCfg = {}
}
}
let renderer = rendererFn(rendererCfg) // The error is reported at this line
if (!renderer.id || !renderer.type || !renderer.render || !lodash.isFunction(renderer.render)) {
logger.warn('渲染后端 ' + (renderer.id || subFolder.name) + ' 不可用')
}
rendererBackends[renderer.id] = renderer
logger.mark('[渲染后端加载]: 导入 ' + renderer.id)
}
怀疑可能和renderers修改有关
Error: Command failed: pnpm start
[PM2][ERROR] Process 0 not found
Process 0 not found
C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1717
acted.push(proc.pm2_env ? proc.pm2_env.pm_id : proc.pm_id)
^
TypeError: Cannot read properties of undefined (reading 'pm2_env')
at C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1717:25
at Array.forEach ()
at API.speedList (C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:1716:18)
at C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\binaries\CLI.js:301:15
at wrapper (C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\once.js:12:16)
at replenish (C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\eachOfLimit.js:76:25)
at iterateeCallback (C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\eachOfLimit.js:65:17)
at C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\async\internal\onlyOnce.js:12:16
at C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\binaries\CLI.js:292:11
at C:\111\Miao-Yunzai\node_modules.pnpm\[email protected]\node_modules\pm2\lib\API.js:330:21
Node.js v19.9.0
at ChildProcess.exithandler (node:child_process:419:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
输出如下:
Scope: all 2 workspace projects
plugins/miao-plugin | WARN deprecated [email protected]
plugins/miao-plugin | WARN deprecated [email protected]
plugins/miao-plugin | WARN deprecated [email protected]
WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fsPackages: +441
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
node_modules/.pnpm/[email protected]/node_modules/sqlite3: Running install script, failed in 3.7sgress: resolved 648, reused 647, downloaded 0, added 0, done
.../[email protected]/node_modules/sqlite3 install$ node-pre-gyp install --fallback-to-build
│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using [email protected]
│ node-pre-gyp info using [email protected] | win32 | x64
│ node-pre-gyp info check checked for "D:\下载\Miao-Yunzai\node_modules\.pnpm\[email protected].│ node-pre-gyp http GET https://github.com/TryGhost/node-sqlite3/releases/download/v5.1.
│ node-pre-gyp ERR! install request to https://github.com/TryGhost/node-sqlite3/releases
│ node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected].
│ node-pre-gyp WARN Hit error request to https://github.com/TryGhost/node-sqlite3/releas
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info find Python using Python version 3.10.10 found at "D:\Soft\Python3\python.exe
│ gyp ERR! find VS
│ gyp ERR! find VS msvs_version not set from command line or npm config
│ gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
│ gyp ERR! find VS looking for Visual Studio 2015
│ gyp ERR! find VS - not found
│ gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS You need to install the latest version of Visual Studio
│ gyp ERR! find VS including the "Desktop development with C++" workload.
│ gyp ERR! find VS For more information consult the documentation at:
│ gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS
│ gyp ERR! configure error
│ gyp ERR! stack Error: Could not find any Visual Studio installation to use
│ gyp ERR! stack at VisualStudioFinder.fail (C:\Users\18149\AppData\Roaming\npm\node
│ gyp ERR! stack at C:\Users\18149\AppData\Roaming\npm\node_modules\pnpm\dist\node_m
│ gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\18149\AppData\
│ gyp ERR! stack at C:\Users\18149\AppData\Roaming\npm\node_modules\pnpm\dist\node_m
│ gyp ERR! stack at C:\Users\18149\AppData\Roaming\npm\node_modules\pnpm\dist\node_m
│ gyp ERR! stack at C:\Users\18149\AppData\Roaming\npm\node_modules\pnpm\dist\node_m
│ gyp ERR! stack at C:\Users\18149\AppData\Roaming\npm\node_modules\pnpm\dist\node_m
│ gyp ERR! stack at ChildProcess.exithandler (node:child_process:427:5)
│ gyp ERR! stack at ChildProcess.emit (node:events:513:28)
│ gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
│ gyp ERR! System Windows_NT 10.0.22621
│ gyp ERR! command "D:\\Soft\\NodeJs\\node.exe" "C:\\Users\\18149\\AppData\\Roaming\\npm
│ gyp ERR! cwd D:\下载\Miao-Yunzai\node_modules\.pnpm\[email protected]\node_modules\sqlite3
│ gyp ERR! node -v v18.16.0
│ gyp ERR! node-gyp -v v9.3.1
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute 'D:\Soft\NodeJs\node.exe C:\Users\181
│ node-pre-gyp ERR! stack at ChildProcess.<anonymous> (D:\下载\Miao-Yunzai\node_module│ node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
│ node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
│ node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_proces
│ node-pre-gyp ERR! System Windows_NT 10.0.22621
│ node-pre-gyp ERR! command "D:\\Soft\\NodeJs\\node.exe" "D:\\下载\\Miao-Yunzai\\node_modu│ node-pre-gyp ERR! cwd D:\下载\Miao-Yunzai\node_modules\.pnpm\[email protected]\node_modules\│ node-pre-gyp ERR! node -v v18.16.0
│ node-pre-gyp ERR! node-pre-gyp -v v1.0.10
│ node-pre-gyp ERR! not ok
│ Failed to execute 'D:\Soft\NodeJs\node.exe C:\Users\18149\AppData\Roaming\npm\node_mod
└─ Failed in 3.7s at D:\下载\Miao-Yunzai\node_modules\.pnpm\[email protected]\node_modules\sqlite3
Progress: resolved 648, reused 647, downloaded 0, added 0, done
ELIFECYCLE Command failed with exit code 1.
例如,皇女本来带的若水,打深渊把若水给了夜兰,圣遗物也扒给其他人了,皇女并没有上场,打完深渊使用 #上传深渊 功能后,皇女面板中的武器就不是若水了,但圣遗物却没变,其他角色也是如此,不知道怎么回事
#导出记录 的时候经常失败
尝试了3个格式都差不多
成功率有点低 这个是为什么
有什么解决办法么
![($FJDO9%GI
K758)RFE1X{C](https://user-images.githubusercontent.com/126785476/223729469-93018992-826a-470f-ab55-dd535ca44f54.png)
云崽更新报错,使用强制更新也不行
这是咋回事?
[09:47:28.038][ERRO] 载入插件错误:example/animal.js
[09:47:28.039][ERRO] /app/Miao-Yunzai/plugins/example/animal.js:5
import fetch from "node-fetch";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
[09:47:28.045][ERRO] 载入插件错误:example/muxia_duck_img.js
[09:47:28.045][ERRO] /app/Miao-Yunzai/plugins/example/muxia_duck_img.js:5
import fetch from "node-fetch";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
[09:47:28.053][ERRO] 载入插件错误:example/pixiv.js
[09:47:28.053][ERRO] /app/Miao-Yunzai/plugins/example/pixiv.js:1
import fetch from "node-fetch";
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
[09:47:28.056][ERRO] 载入插件错误:example/一言.js
[09:47:28.056][ERRO] /app/Miao-Yunzai/plugins/example/一言.js:1
import plugin from '../../lib/plugins/plugin.js'
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
[09:47:28.057][ERRO] 载入插件错误:example/主动复读.js
[09:47:28.058][ERRO] /app/Miao-Yunzai/plugins/example/主动复读.js:1
import plugin from '../../lib/plugins/plugin.js'
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1176:20)
at Module._compile (node:internal/modules/cjs/loader:1218:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
miao-yunzai | ERR_PNPM_INCLUDED_DEPS_CONFLICT modules directory (at "/app/Miao-Yunzai") was installed with optionalDependencies, dependencies. Current install wants optionalDependencies, dependencies, devDependencies.
如题,试了下裸喵崽还不能响应这个功能,如果可以的话,是否可以考虑加上这个功能呢。这样就可以把很久不更新的白纸插件淘汰力~
Line 11 in 23b194c
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.