whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
16.35k stars 2.99k forks source link

面板更新提示 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams #2525

Open sdgsgsdf opened 1 month ago

sdgsgsdf commented 1 month ago

Qinglong version

2.17.9

Steps to reproduce

ql update

What is expected?

正常更新

What is actually happening?

使用 github 源更新...

更新青龙源文件成功...

更新青龙静态资源成功...

开始检测依赖...

安装 /ql/.tmp/qinglong-master 依赖包...

Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm  ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

pnpm [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams at Proxy.getAll (node:internal/url:535:13) at Proxy. (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59405:55) at /usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59467:31 at Array.reduce () at Proxy.raw (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59466:33) at new Headers (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59351:28) at getNodeRequestOptions (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59700:23) at /usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59757:25 at new Promise () at fetch (/usr/local/lib/node_modules/pnpm/dist/pnpm.cjs:59755:14)

依赖检测安装失败,请检查网络...

执行结束...

System Info

No response

Any additional comments?

No response

whyour commented 1 month ago

这是 docker 部署的吗

Joackk commented 1 month ago

这是 docker 部署的吗

应该算是?我装在zerotermux里

whyour commented 1 month ago

zerotermux

是用 docker run 还是 npm i @whyour/qinglong 装的

Joackk commented 1 month ago

zerotermux

是用 docker run 还是 npm i @whyour/qinglong 装的

应该算是第二种?我是直接导入的就是别人做好的容器,更新时候就是ql update、ql check这种命令来运行的