Giter VIP home page Giter VIP logo

qldependency's Introduction

QLDependency Logo


【青龙】全依赖环境一键安装脚本 | QLDependency

A timed task management panel that supports typescript, javaScript, python3, and shell.(支持python3、javaScript、shell、typescript 的定时任务管理面板)

docker docker version

GitHub Repo stars GitHub forks GitHub Workflow Status docker-image-size-image GitHub FOSSA Status

GitHub Repo stars


链接文档 点我展开

【Gitee 仓库地址(方便国内小伙伴访问)】https://gitee.com/exting/QLDependency

【GitBook 文档仓库地址】https://doc.flechazo.ml/青龙/2021-11-17-青龙依赖一键安装脚本.html

【Telegram 群组】:airplane: https://t.me/github_chats


欢迎前往原作者仓库右上角点 ⭐ Star 收藏和 关注 Follow

🚀 稳定自用 IPA 个人签名证书及稳定机场推荐:(2024.01.03 更新)





爱发电 (可以请我喝杯咖啡咩☕️ 谢谢~)

QLDependency

青龙全依赖一键安装脚本 部署文档

安装报错等常见问题参考

特别声明

特别声明 点我展开
  • 本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。

  • 本人对任何脚本问题概不负责,包括但不限于由任何脚本错误导致的任何损失或损害。

  • 间接使用脚本的任何用户,包括但不限于建立VPS或在某些行为违反国家/地区法律或相关法规的情况下进行传播, 本人对于由此引起的任何隐私泄漏或其他后果概不负责。

  • 请勿将本仓库的任何内容用于商业或非法目的,否则后果自负。

  • 如果任何单位或个人认为该项目的脚本可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我们将在收到认证文件后删除相关脚本。

  • 任何以任何方式查看此项目的人或直接或间接使用该项目的任何脚本的使用者都应仔细阅读此声明。本人保留随时更改或补充此免责声明的权利。一旦使用并复制了任何相关脚本或Script项目的规则,则视为您已接受此免责声明。

您必须在下载后的24小时内从计算机或手机中完全删除以下内容

您使用或者复制了本仓库且本人制作的任何脚本,则视为 已接受 以上声明,请仔细阅读


新版本的青龙(2.10.2+ ),在运行脚本的时候,经常出现

“ Cannot find module 'xxxx' ” 

or

“ 'xxxx' module not found ” 

的报错问题 ,原因就是缺少 xxxx 模块,mudole的名字就是报错的 xxxx。

为解决新版本依赖问题,可以在安装时直接一键部署全部所需的依赖,以免后患:

一键安装单独青龙的依赖 国内版:

docker exec -it qinglong bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | bash)"

国外版:

docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | bash)"

【更新】 版本号 2.12+ 的新版本青龙安装失败请尝试:

docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | bash)"

具体执行方法:

安装拉取青龙镜像的就不说了,教程都有 docker pull whyour/qinglong:latest

  1. 点击本页面 右上方的 Star

  2. SSH 进入服务器(或群辉,或软路由等终端环境),输入 docker ps,查看 青龙 Docker 是否正常运行,记下青龙 Docker的容器名字 ,然后进入下一步。

Docker

  1. 输入一键安装命令,如果你的青龙容器不叫 qinglong,需要替换为相应的容器名字(国外鸡,可以使用上面的国外脚本,速度比较快): 
docker exec -it qinglong bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | bash)"
  1. 查看输出日志: SSH

  2. 等进度条走完,等待的时候因机器性能而异,性能差有的时间可能会非常长...

npm

  1. 最后输出,就完成了,重启下青龙 Docker :
docker restart qinglong
  1. 依赖安装完毕...

End

不介意的话顺手点个 **★ Star ** (本页面顶部右上方 ★ ), 方便以后收到脚本更新~

常见问题

安装报错等常见问题请参考:

附:

有新的需要的依赖,请测试完成后提交pull request,等待审核通过合并到项目中

请作者喝杯咖啡 (进微信交流群)~ ☕

支付宝赞助码 微信赞助码 ** 微信交流群(活码,需微信扫描两次) ** Telegram 群组(https://t.me/github_chats) 加不了群请加微信好友(备注 Github)
SSH SSH SSH SSH SSH

⭐ 推荐项目

  • 头像壁纸微信小程序作品-情侣头像精选库,欢迎扫码体验~

赞助(从新到旧) ⬇

昵称 赞助金额 留言
匿名 1.0 ¥
匿名 2.0 ¥
P * n 10.0 ¥ coffee
* 宁 0.01 ¥
* 人 5.00 ¥ 谢谢~
* 晨 18.00 ¥ 谢谢大佬!!
Alan 2.50 ¥

爱发电 (请我喝杯咖啡~)

★ Star 趋势 /Stargazers Over Time

Stargazers over time

⭐ 推荐收藏项目


鸣谢

License

FOSSA Status

qldependency's People

Contributors

flechazoph avatar fossabot avatar luoxufeiyan avatar sekibetu avatar virualv avatar xz-dev avatar yanyuwangluo 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

qldependency's Issues

OMV Docker运行报错

环境:
OMV
docker :Docker version 18.09.1
青龙面板:v2.11.3
浏览器:Chrome
操作系统:Windows10

报错日志:
root@qinglong:/ql $ node -v
v17.5.0
root@qinglong:/ql $ npm -v
8.15.0
root@qinglong:/ql $ curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh

安装依赖...

安装依赖需要时间,请耐心等待!

sh: 当前node版本(如果没有node,请自行安装): : not found
v17.5.0

sh: 当前npm版本(如果没有npm,请自行安装): : not found
8.15.0
Nothing to stop. No server is running for the store at /root/.local/share/pnpm/store/v3
Already up-to-date
Progress: resolved 4, reused 3, downloaded 0, added 0, done
Lockfile is up-to-date, resolution step is skipped
Already up-to-date

changed 208 packages in 23s

11 packages are looking for funding
run npm fund for details
Already up-to-date
 WARN  js-base64 has no binaries
 WARN  silly-datetime has no binaries
Progress: resolved 4, reused 4, downloaded 0, added 0, done
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.26.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests) (2020.12.5)
Requirement already satisfied: charset_normalizer~=2.0.0 in /usr/lib/python3.9/site-packages (from requests) (2.0.7)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (3.3)
fetch https://mirrors.aliyun.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxm (no such package):
required by: world[lxm]
fetch https://mirrors.aliyun.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxm (no such package):
required by: world[lxm]
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxm (no such package):
required by: world[lxm]

依赖安装完毕...建议重启 Docker

有任何问题,请在此仓库提交Issue: https://github.com/FlechazoPh/QLDependency

安装依赖出错

安装依赖...

安装依赖需要时间,请耐心等待!

sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
v18.15.0

sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
9.5.0
sh: line 48: cd: /ql: No such file or directory
Nothing to stop. No server is running for the store at /root/.local/share/pnpm/s tore/v3
 ERR_PNPM_NO_GLOBAL_BIN_DIR  Unable to find the global bin directory

Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.
 ERR_PNPM_NO_PKG_MANIFEST  No package.json found in /root/.local/share/pnpm/glob al/5
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual: {"npm":"9.5.0","node":"v18.15.0"}

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-09-26T11_18_37_771Z-debug-0.log
 ERR_PNPM_NO_GLOBAL_BIN_DIR  Unable to find the global bin directory

Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.
sh: line 57: pip3: command not found
sh: line 59: cd: /ql/scripts/: No such file or directory
sh: line 60: cd: /ql: No such file or directory
sh: line 61: apk: command not found
sh: line 62: cd: /ql: No such file or directory
sh: line 63: apk: command not found

依赖安装完毕...建议重启 Docker

有任何问题,请在此仓库提交Issue: https://github.com/FlechazoPh/QLDependency

添加依赖

Is your feature request related to a problem? Please describe.
有的教程里有手动添加的依赖,如下:
点击青龙面板的依赖管理一->新建依赖一一选择NodeJs、等待安装完成
crypto-js
prettytable
dotenv
jsdom
date-fns
tough-cookie
tslib
[email protected]
ts-md5
jsdom -g
jieba
fs
form-data
json5
global-agent
png-js
@types/node
require
typescript
js-base64
axios
点击青龙面板的依赖管理一->新建依赖一选择Python3自动拆分选择是、复制以下的依赖填到名称里一->点击确定,等待安装完成

requests
canvas
ping3
jieba
aiohttp
自动拆分选择是复制以下的依赖填到名点击青龙面板的依赖管理一->新建依赖一选择Linux、称里一->点击确定,等待安装完成

bizCode
bizMsg
Ixml

感觉不如放到脚本省事。

Describe the solution you'd like
能否加到自动脚本里?

一键脚本报错,请求帮忙

环境:
CentOS7_2009
docker -v:Docker version 1.13.1, build 7d71120/1.13.1
青龙面板最新:v2.13.3
浏览器:Chrome/101.0.0.0
操作系统:Windows11
网络:香港出口

报错日志:
[root@centos7-2009-uefi-6 opt]# docker exec -it qinglong bash
root@qinglong:/ql $ curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | sh

安装依赖...

安装依赖需要时间,请耐心等待!

sh: 当前node版本(如果没有node,请自行安装): : not found
v18.3.0

sh: 当前npm版本(如果没有npm,请自行安装): : not found
8.12.1
Nothing to stop. No server is running for the store at /root/.local/share/pnpm/store/v3
The location of the currently running pnpm differs from the location where pnpm will be installed
Current pnpm location: /usr/local/bin
Target location: /root/.local/share/pnpm

 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Already up-to-date
 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@"
"

Progress: resolved 204, reused 203, downloaded 0, added 0, done
Lockfile is up-to-date, resolution step is skipped
Already up-to-date

changed 208 packages in 20s

11 packages are looking for funding
run npm fund for details
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Already up-to-date
Progress: resolved 204, reused 203, downloaded 0, added 0, done
 WARN  js-base64 has no binaries
 WARN  silly-datetime has no binaries
 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@"
"
Requirement already satisfied: requests in /usr/lib/python3.10/site-packages (2.28.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.10/site-packages (from requests) (2022.5.18.1)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.10/site-packages (from requests) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/lib/python3.10/site-packages (from requests) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.10/site-packages (from requests) (1.26.9)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
fetch https://mirrors.aliyun.com/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
OK: 452 MiB in 177 packages
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer eslint-plugin-import@">=2.18.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-import@">=2.18.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm ERR! Cannot read properties of null (reading 'matches')

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-15T02_48_59_838Z-debug-0.log
fetch https://mirrors.aliyun.com/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
OK: 452 MiB in 177 packages
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer eslint-plugin-import@">=2.18.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-import@">=2.18.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN ERESOLVE overriding peer dependency
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: peer eslint-plugin-standard@">=4.0.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer eslint-plugin-standard@">=4.0.0" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition/node_modules/eslint-config-standard
npm WARN dev eslint-config-standard@"13.0.1" from [email protected]
npm WARN node_modules/.pnpm/[email protected]/node_modules/content-disposition
npm WARN ERESOLVE overriding peer dependency
npm ERR! Cannot read properties of null (reading 'matches')

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-06-15T02_51_08_801Z-debug-0.log
OK: 452 MiB in 177 packages

依赖安装完毕...建议重启 Docker

有任何问题,请在此仓库提交Issue: https://github.com/FlechazoPh/QLDependency

依赖安装失败

⑨日志-canvas开始安装依赖canvas,开始时间2024-02-2212:40:58
Looking in indexes:https://pypi.tuna.tsinghua.edu.cn/simple ERROR:Ignored the following versions that require a different python version:0.1.1 Requires-Python >=3.12,<4.0;0.1.2 Req uires-Python >=3.12,<4.0;0.1.3 Requires-Python >=3.12,<4.0
ERROR:Could not find a version that satisfies the requirement canvas(from versions:none)
ERROR:No matching distribution found for canvas依赖安装失败,结束时间2024-02-2212:49:59,耗时0秒

安装不了。

用 node -v 和 npm -v 都可以显示版本号。
node 14.18.3, npm 5.6.0
但运行命令就是安装不了,提示
sh: 当前node版本(如果没有node,请自行安装): : not found
sh: 当前npm版本(如果没有npm,请自行安装): : not found
我用的R4S openwrt docker

n1 docker脚本报错

环境:
斐讯N1 openwrt flippy-71+o
docker :Docker version 20.10.14, build a224086
青龙面板:v2.11.0
浏览器:Microsoft Edge
操作系统:Windows10

报错日志:
root@qinglong:/ql $ curl -fsSL https://raw.githubusercontent.com/shufflewzc/QLDependency/main/Shell/QLOneKeyDependency.sh | sh

安装依赖...

安装依赖需要时间,请耐心等待!

sh: 当前node版本(如果没有node,请自行安装): : not found
v16.13.1

sh: 当前npm版本(如果没有npm,请自行安装): : not found
8.13.2
Nothing to stop. No server is running for the store at /root/.pnpm-store/v3
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Packages: +1
+
Progress: resolved 198, reused 196, downloaded 1, added 1, done

/usr/local/pnpm-global/5:

  • pnpm 7.4.1

 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@"
"
 ERROR  Unable to find the global bin directory
Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.

removed 1 package, and changed 208 packages in 2m

11 packages are looking for funding
run npm fund for details
 ERROR  Unable to find the global bin directory
Run "pnpm setup" to create it automatically, or set the global-bin-dir setting, or the PNPM_HOME env variable. The global bin directory should be in the PATH.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: requests in /usr/lib/python3.8/site-packages (2.23.0)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests) (3.0.4)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests) (2.9)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests) (1.25.9)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests) (2020.4.5.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main/aarch64/APKINDEX.tar.gz
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/community/aarch64/APKINDEX.tar.gz
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxml (no such package):
required by: world[lxml]
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main/aarch64/APKINDEX.tar.gz
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/community/aarch64/APKINDEX.tar.gz
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxml (no such package):
required by: world[lxml]
ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]
bizMsg (no such package):
required by: world[bizMsg]
lxml (no such package):
required by: world[lxml]

报错日志显示 not found 参考解决方案,要先安装npm和node

要先安装npm和node
1、cd /usr/local && wget https://nodejs.org/dist/v14.17.5/node-v14.17.5-linux-x64.tar.xz
2、xz -dk node-v14.17.5-linux-x64.tar.xz && tar -xvf node-v14.17.5-linux-x64.tar
3、复制下面放到profile文件
export NODE_HOME=/usr/local/node-v14.17.5-linux-x64
export PATH=$PATH:$NODE_HOME/bin
export NODE_PATH=$NODE_HOME/lib/node_modules

生效
source /etc/profile
4、然后docker exec -it 容器名 bash
5、curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh
运行这个命令就可以了

之前就算装了npm和node,直接运行一键命令还是会报错,今天换了这个方法,先进容器再运行就没啥问题,不过还是有两个地方报错了
QQ截图20211121150318
图中提到的日志保存文件目录/root/.npm/ 我在宝塔里面没有找到,日志文件也没有搜索到

Originally posted by @naiveclub in #5 (comment)

安装时候提示这个请问正常吗?

sh: 12: [[: not found
sh: 23: [[: not found
sh: 12: [[: not found
sh: 23: [[: not found
sh: 40: 当前node版本(如果没有node,请自行安装): : not found
sh: 41: node: not found
sh: 44: 当前npm版本(如果没有npm,请自行安装): : not found
sh: 45: npm: not found
sh: 47: npm: not found
sh: 48: cd: can't cd to /ql
sh: 49: pnpm: not found
sh: 51: pnpm: not found
sh: 53: npm: not found
sh: 55: pnpm: not found
sh: 57: pip3: not found
sh: 59: cd: can't cd to /ql/scripts/
sh: 60: cd: can't cd to /ql
sh: 61: apk: not found
sh: 62: cd: can't cd to /ql
sh: 63: apk: not found
sh: 12: [[: not found
sh: 23: [[: not found
sh: 12: [[: not found
sh: 23: [[: not found
bash: line 4: -e: command not found
bash: line 4: $'1m安装依赖...\E[0m': command not found
bash: line 6: -e: command not found
bash: line 6: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 13: -e: command not found
bash: line 13: 1m依赖安装完毕...建议重启: command not found
bash: line 15: -e: command not found
bash: line 15: 1m有任何问题,请在此仓库提交Issue:: command not found

错误Cannot read properties of null (reading 'matches')

npm WARN ERESOLVE overriding peer dependency
npm ERR! Cannot read properties of null (reading 'matches')

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-11-03T02_47_17_877Z-debug-0.log
OK: 478 MiB in 177 packages

青龙2.14.7和2.14.9都尝试了 都不行 docker内

安装依赖时报错

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! dev react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @monaco-editor/[email protected]
npm ERR! node_modules/@monaco-editor/react
npm ERR! dev @monaco-editor/react@"4.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2023-04-21T10_10_42_361Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-04-21T10_10_42_361Z-debug-0.log
安装依赖...
fetch https://mirrors.aliyun.com/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
OK: 497 MiB in 181 packages
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! dev react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @monaco-editor/[email protected]
npm ERR! node_modules/@monaco-editor/react
npm ERR! dev @monaco-editor/react@"4.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /root/.npm/_logs/2023-04-21T10_10_56_969Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-04-21T10_10_56_969Z-debug-0.log
安装依赖...
fetch https://mirrors.aliyun.com/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/4) Installing libjpeg-turbo (2.1.4-r0)
(2/4) Installing libjpeg-turbo-dev (2.1.4-r0)
(3/4) Installing jpeg-dev (9e-r0)
(4/4) Installing python3-dev (3.10.11-r0)
Executing busybox-1.35.0-r29.trigger
OK: 545 MiB in 185 packages

卡在“(11/112) Installing gcc (12.2.1_git20220924-r10)”

docker镜像安装安装脚本卡住了。跑的是新的脚本XinQLOneKey.sh。

日志如下:

安装依赖...

安装依赖需要时间,请耐心等待!

./XinQLOneKey.sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
v18.19.1

./XinQLOneKey.sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
10.5.0
Nothing to stop. No server is running for the store at /root/.local/share/pnpm/store/v3
The location of the currently running pnpm differs from the location where pnpm will be installed
Current pnpm location: /usr/local/bin
Target location: /root/.local/share/pnpm

Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 22, reused 22, downloaded 0, added 0
Progress: resolved 24, reused 23, downloaded 0, added 0
Progress: resolved 77, reused 77, downloaded 0, added 0
Already up to date
Progress: resolved 101, reused 101, downloaded 0, added 0, done

Done in 8.4s
Lockfile is up to date, resolution step is skipped
Already up to date

Done in 4.1s

changed 191 packages in 28s

33 packages are looking for funding
run npm fund for details
Progress: resolved 0, reused 1, downloaded 0, added 0
Progress: resolved 24, reused 21, downloaded 0, added 0
Progress: resolved 101, reused 101, downloaded 0, added 0
Already up to date
 WARN  js-base64 has no binaries
 WARN  silly-datetime has no binaries

Done in 5.5s
Progress: resolved 101, reused 101, downloaded 0, added 0, done
Requirement already satisfied: requests in /usr/local/lib/python3.11/site-packages (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.11/site-packages (from requests) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.11/site-packages (from requests) (3.6)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/site-packages (from requests) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests) (2024.2.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/112) Installing zstd-libs (1.5.5-r4)
(2/112) Installing binutils (2.40-r7)
(3/112) Installing libmagic (5.45-r0)
(4/112) Installing file (5.45-r0)
(5/112) Installing libgomp (12.2.1_git20220924-r10)
(6/112) Installing libatomic (12.2.1_git20220924-r10)
(7/112) Installing gmp (6.2.1-r3)
(8/112) Installing isl26 (0.26-r1)
(9/112) Installing mpfr4 (4.2.0_p12-r0)
(10/112) Installing mpc1 (1.3.1-r1)
(11/112) Installing gcc (12.2.1_git20220924-r10)

The automated release is failing 🚨

🚨 The automated release from the main branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot 📦🚀

安装出错

这个怎么解决

docker exec -it ql bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh)"
sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
sh: line 41: node: command not found
sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
sh: line 45: npm: command not found
sh: line 47: npm: command not found
sh: line 48: cd: /ql: No such file or directory
sh: line 49: pnpm: command not found
sh: line 51: pnpm: command not found
sh: line 53: npm: command not found
sh: line 55: pnpm: command not found
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
sh: line 59: cd: /ql/scripts/: No such file or directory
sh: line 60: cd: /ql: No such file or directory
sh: line 61: apk: command not found
sh: line 62: cd: /ql: No such file or directory
sh: line 63: apk: command not found
bash: line 3: $'\E[36m\E[0m': command not found
bash: line 3: $'1m安装依赖...\E[0m': command not found
bash: line 5: $'\E[36m\E[0m': command not found
bash: line 5: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 11: Requirement: command not found
bash: -c: line 12: syntax error near unexpected token `('
bash: -c: line 12: `Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests)'

centos7 青龙2.13.3执行一键脚本报错

[root@QL ~]# docker exec -it QL bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | sh)"
sh:行40: 当前node版本(如果没有node,请自行安装): : 未找到命令
sh:行41: node: 未找到命令
sh:行44: 当前npm版本(如果没有npm,请自行安装): : 未找到命令
sh:行45: npm: 未找到命令
sh:行47: npm: 未找到命令
sh: 第 48 行:cd: /ql: 没有那个文件或目录
sh:行49: pnpm: 未找到命令
sh:行51: pnpm: 未找到命令
sh:行53: npm: 未找到命令
sh:行55: pnpm: 未找到命令
sh:行57: pip3: 未找到命令
sh: 第 59 行:cd: /ql/data/scripts/: 没有那个文件或目录
sh: 第 60 行:cd: /ql: 没有那个文件或目录
sh:行61: apk: 未找到命令
sh: 第 62 行:cd: /ql: 没有那个文件或目录
sh:行63: apk: 未找到命令
bash: line 4: $'\E[36m\E[0m': command not found
bash: line 4: $'1m安装依赖...\E[0m': command not found
bash: line 6: $'\E[36m\E[0m': command not found
bash: line 6: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 13: $'\E[36m\E[0m': command not found
bash: line 13: 1m依赖安装完毕...建议重启: command not found
bash: line 15: $'\E[36m\E[0m': command not found
bash: line 15: 1m有任何问题,请在此仓库提交Issue:: command not found

看之前有类似的提问,但好像没有解决,请大佬指教一下。谢谢!

只有py3在面板里显示己安装,Linux,node 面板里显示都是安装失败,没有一个成功

只有py3在面板里显示己安装,Linux,node 面板里显示都是安装失败,没有一个成功。

然后我是群辉容器加青龙,昨天刚升级了一下青龙版本,用的是面板里自动升级的,然后出来了之后发现依赖全部失效了,然后我用命令安装,一直安装不成功,不知道怎么看错误还望大佬提示帮忙。

root@DiskStation:# docker restart qinglong
qinglong
root@DiskStation:
# docker exec -it qinglong bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh)"
sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
sh: line 48: cd: /ql: No such file or directory
sh: line 49: pnpm: command not found
sh: line 51: pnpm: command not found
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14' },
npm WARN EBADENGINE current: { node: 'v12.22.7', npm: '8.19.2' }
npm WARN EBADENGINE }
sh: line 55: pnpm: command not found
sh: line 57: pip3: command not found
sh: line 59: cd: /ql/scripts/: No such file or directory
sh: line 60: cd: /ql: No such file or directory
sh: line 61: apk: command not found
sh: line 62: cd: /ql: No such file or directory
sh: line 63: apk: command not found
bash: line 4: $'\E[36m\E[0m': command not found
bash: line 4: $'1m安装依赖...\E[0m': command not found
bash: line 6: $'\E[36m\E[0m': command not found
bash: line 6: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 11: v12.22.7: command not found
bash: line 13: 8.19.2: command not found
bash: line 15: added: command not found
bash: line 17: 11: command not found
bash: line 18: run: command not found
bash: line 20: $'\E[36m\E[0m': command not found
bash: line 20: 1m依赖安装完毕...建议重启: command not found
bash: line 22: $'\E[36m\E[0m': command not found
bash: line 22: 1m有任何问题,请在此仓库提交Issue:: command not found

-================这是我运行部分脚本出现错误,感觉像是缺少了什么依赖。========================

zero205/JD_tencent_scf80+

开始执行... 2022-10-20 10:13:19

/bin/bash: line 1: USER: command not found
/bin/bash: line 1: sendNotify: command not found
/bin/bash: line 1: sign_graphics_validate: command not found
/bin/bash: line 2: $'ql main\n': command not found
/bin/bash: line 1: JDJR: command not found
/bin/bash: line 1: JDSign: command not found
/bin/bash: line 1: icon ^jd[^_]: command not found
/bin/bash: line 1: jdCookie backUp: command not found
/bin/bash: line 1: jx_: command not found

执行结束... 2022-10-20 10:13:19 耗时 0 秒

收藏大师-关注商品

开始执行... 2022-10-20 10:14:13

🔔收藏大师-关注商品, 开始!

====================共2个京东账号Cookie=========

==================脚本执行- 北京时间(UTC+8):2022/10/20 10:14:15=====================

KingRan 频道通知:https://t.me/KingRan521

node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'ds'
Require stack:

  • /ql/data/scripts/KingRan_KR/function/cache/index.js
  • /ql/data/scripts/KingRan_KR/function/krgetToken.js
  • /ql/data/scripts/KingRan_KR/jd_txzj_collect_shop.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/ql/data/scripts/KingRan_KR/function/cache/index.js:1:9455)
    at Module._compile (node:internal/modules/cjs/loader:1099:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/ql/data/scripts/KingRan_KR/function/cache/index.js',
    '/ql/data/scripts/KingRan_KR/function/krgetToken.js',
    '/ql/data/scripts/KingRan_KR/jd_txzj_collect_shop.js'
    ]
    }

Node.js v17.8.0

群晖docker不能安装使用

日记:
root@qinglong:/ql $ cd /usr/bin
root@qinglong:/usr/bin $ npm -v
8.5.5
root@qinglong:/usr/bin $ cd /
root@qinglong:/ $ CD
bash: CD: command not found
root@qinglong:/ $ cd
root@qinglong:~ $ node -v
v17.8.0
root@qinglong:~ $ npm -v
8.5.5
root@qinglong:~ $ docker exec -it qinglong bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh)"
sh: 当前node版本(如果没有node,请自行安装): : not found

node 和npm 都安装了 还是出错

root@qinglong:/ql $ docker exec -it qinglong bash -c "$(curl -fsSL https://ghprox
y.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneK
eyDependency.sh | sh)"
sh: 当前node版本(如果没有node,请自行安装): : not found
sh: 当前npm版本(如果没有npm,请自行安装): : not found
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 21.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '/usr/bin/python3.8 -m pip install --upgrade pip' command.
ERROR: unable to select packages:
ERROR: unable to select packages:
ERROR: unable to select packages:
/bin/sh: docker: not found

安装报错

root@ZHINAS:~# docker exec -it QL bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh)"
sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
sh: line 41: npm: command not found
sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
sh: line 45: npm: command not found
sh: line 47: npm: command not found
sh: line 48: cd: /ql: No such file or directory
sh: line 49: pnpm: command not found
sh: line 51: pnpm: command not found
sh: line 53: npm: command not found
sh: line 55: npm: command not found
sh: line 57: npm: command not found
sh: line 59: npm: command not found
sh: line 61: npm: command not found
sh: line 63: npm: command not found
sh: line 65: npm: command not found
sh: line 67: npm: command not found
sh: line 69: npm: command not found
sh: line 71: npm: command not found
sh: line 73: npm: command not found
sh: line 75: npm: command not found
sh: line 77: npm: command not found
sh: line 79: npm: command not found
sh: line 81: npm: command not found
sh: line 83: npm: command not found
sh: line 85: pnpm: command not found
sh: line 87: pnpm: command not found
sh: line 89: pnpm: command not found
sh: line 91: pip3: command not found
sh: line 93: cd: /ql/scripts/: No such file or directory
sh: line 94: cd: /ql: No such file or directory
sh: line 95: apk: command not found
sh: line 96: cd: /ql: No such file or directory
sh: line 97: apk: command not found
bash: line 3: $'\E[36m\E[0m': command not found
bash: line 3: $'1m安装依赖...\E[0m': command not found
bash: line 5: $'\E[36m\E[0m': command not found
bash: line 5: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 12: $'\E[36m\E[0m': command not found
bash: line 12: 1m依赖安装完毕...建议重启: command not found
bash: line 14: $'\E[36m\E[0m': command not found
bash: line 14: 1m有任何问题,请在此仓库提交Issue:: command not found

群晖918+的DOCKER使用脚本无法安装青龙依赖库

Describe the bug
群晖918+的DOCKER使用脚本无法安装青龙依赖库
设备:群晖918+
DSM版本:7.0

To Reproduce
Steps to reproduce the behavior:

  1. 通过SSH登录群晖
  2. 给账户提权后,输入 docker exec -it qinglong bash
  3. 进入青龙的docker后输入 curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh
  4. 在青龙面板的“依赖管理”里面看不到有任何的依赖库文件,在执行脚本时有找不到依整库的问题。

Screenshots
执行脚本反馈-1
执行脚本反馈
执行脚本反馈-3

Desktop (please complete the following information):

  • OS: [Windows 10 ]
  • Browser [chrome]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

docker

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

报错:ERESOLVE unable to resolve dependency tree

您好,我进入docker内,执行后报错,报错信息如下:

环境:纯净Centos7 2009

`root@qinglong:/ql $ curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh

安装依赖...

安装依赖需要时间,请耐心等待!

sh: 当前node版本(如果没有node,请自行安装): : not found
v17.8.0

sh: 当前npm版本(如果没有npm,请自行安装): : not found
8.7.0
Nothing to stop. No server is running for the store at /root/.pnpm-store/v3
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Packages: +1
+
Progress: resolved 201, reused 199, downloaded 1, added 1, done

/usr/local/pnpm-global/5:

  • pnpm 6.32.9

 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@"
"
Lockfile is up-to-date, resolution step is skipped
Already up-to-date

changed 207 packages in 26s

10 packages are looking for funding
run npm fund for details
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
 WARN  deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
Already up-to-date
 WARN  js-base64 has no binaries
 WARN  silly-datetime has no binaries
Progress: resolved 201, reused 200, downloaded 0, added 0, done
 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@"
"
Requirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.26.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.7)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests) (2020.12.5)
Requirement already satisfied: charset_normalizer~=2.0.0 in /usr/lib/python3.9/site-packages (from requests) (2.0.7)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (3.3)
fetch https://mirrors.aliyun.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
OK: 491 MiB in 213 packages
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! dev react@"17.x" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=15.5 <=16.x" from [email protected]
npm ERR! node_modules/react-codemirror2
npm ERR! dev react-codemirror2@"^7.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-04-24T07_10_39_844Z-debug-0.log
fetch https://mirrors.aliyun.com/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://mirrors.aliyun.com/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
OK: 491 MiB in 213 packages
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! dev react@"17.x" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=15.5 <=16.x" from [email protected]
npm ERR! node_modules/react-codemirror2
npm ERR! dev react-codemirror2@"^7.2.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-04-24T07_10_51_354Z-debug-0.log
OK: 491 MiB in 213 packages

依赖安装完毕...建议重启 Docker

有任何问题,请在此仓库提交Issue: https://github.com/FlechazoPh/QLDependency

root@qinglong:/ql $`

bizCode (no such package)!!依赖包怎么装不上!!

1.首先dokcer、qinglong容器都有重启
2,无法安装依赖(无论在容器安装还是界面安装都失败)

#容器内安装报错
root@qinglong:/ql $ apk add bizCode

ERROR: unable to select packages:
bizCode (no such package):
required by: world[bizCode]

#界面安装报错
image

node版本

npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual: {"npm":"9.6.7","node":"v18.16.0"}

我执行的时候报这个错,然后我用nvm下载了一个18.17.1的版本它还是显示老的node版本,不知道是什么原因

大家帮忙看看这个是啥原因,一直报错

root@22-6-22-1300:~# docker exec -it qinglong bash
root@qinglong:/ql $ curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh
安装依赖...
安装依赖需要时间,请耐心等待!
sh: 当前node版本(如果没有node,请自行安装): : not found
v16.13.1
sh: 当前npm版本(如果没有npm,请自行安装): : not found
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
ERROR: This version of pnpm requires at least Node.js v16.14
The current version of Node.js is v16.13.1
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
Traceback (most recent call last):
File "/usr/bin/pip3", line 11, in
load_entry_point('pip==20.1.1', 'console_scripts', 'pip3')()
File "/usr/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
File "/usr/lib/python3.8/site-packages/pip/_internal/commands/init.py", line 104, in create_command
module = importlib.import_module(module_path)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 24, in
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
File "/usr/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 16, in
from pip._internal.index.package_finder import PackageFinder
File "/usr/lib/python3.8/site-packages/pip/_internal/index/package_finder.py", line 21, in
from pip._internal.index.collector import parse_links
File "/usr/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 14, in
from pip._vendor import html5lib, requests
ImportError: cannot import name 'requests' from 'pip._vendor' (/usr/lib/python3.8/site-packages/pip/_vendor/init.py)
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main/aarch64/APKINDEX.tar.gz
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/community/aarch64/APKINDEX.tar.gz
OK: 486 MiB in 198 packages
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/main/aarch64/APKINDEX.tar.gz
fetch http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.12/community/aarch64/APKINDEX.tar.gz
OK: 486 MiB in 198 packages
OK: 486 MiB in 198 packages

依赖安装完毕...建议重启 Docker

弄了一天也没弄明白是啥错误,希望有大佬能帮忙解决一下

debian 12 安装依赖报错

root@localhost:~# docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/QLOneKeyDependency.sh | sh)"

sh: 12: [[: not found
sh: 23: [[: not found
sh: 12: [[: not found
sh: 23: [[: not found
sh: 40: 当前node版本(如果没有node,请自行安装): : not found
sh: 41: node: not found
sh: 44: 当前npm版本(如果没有npm,请自行安装): : not found
sh: 45: npm: not found
sh: 47: npm: not found
sh: 48: cd: can't cd to /ql
sh: 49: pnpm: not found
sh: 51: pnpm: not found
sh: 53: npm: not found
sh: 55: pnpm: not found
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
sh: 59: cd: can't cd to /ql/scripts/
sh: 60: cd: can't cd to /ql
sh: 61: apk: not found
sh: 62: cd: can't cd to /ql
sh: 63: apk: not found
sh: 12: [[: not found
sh: 23: [[: not found
sh: 12: [[: not found
sh: 23: [[: not found

bash: line 4: -e: command not found
bash: line 4: $'1m安装依赖...\E[0m': command not found
bash: line 6: -e: command not found
bash: line 6: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 13: -e: command not found
bash: line 13: 1m依赖安装完毕...建议重启: command not found
bash: line 15: -e: command not found
bash: line 15: 1m有任何问题,请在此仓库提交Issue:: command not found

群晖 ds3615xs 7.0.1 update3 青龙版本 2.13.3 用新版本脚本安装出错:

群晖 ds3615xs 7.0.1 update3 青龙版本 2.13.3 用新版本脚本安装出错:
ash-4.4# docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | sh)"

sh: line 40: 当前node版本(如果没有node,请自行安装): : command not found
sh: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
sh: line 48: cd: /ql: No such file or directory
sh: line 49: pnpm: command not found
sh: line 51: pnpm: command not found
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14' },
npm WARN EBADENGINE current: { node: 'v12.22.7', npm: '8.12.2' }
npm WARN EBADENGINE }
sh: line 55: pnpm: command not found
sh: line 57: pip3: command not found
sh: line 59: cd: /ql/data/scripts/: No such file or directory
sh: line 60: cd: /ql: No such file or directory
sh: line 61: apk: command not found
sh: line 62: cd: /ql: No such file or directory
sh: line 63: apk: command not found
bash: line 4: $'\E[36m\E[0m': command not found
bash: line 4: $'1m安装依赖...\E[0m': command not found
bash: line 6: $'\E[36m\E[0m': command not found
bash: line 6: $'1m安装依赖需要时间,请耐心等待!\E[0m': command not found
bash: line 11: v12.22.7: command not found
bash: line 13: 8.12.2: command not found
bash: line 15: added: command not found
bash: line 17: 11: command not found
bash: line 18: run: command not found
bash: line 20: $'\E[36m\E[0m': command not found
bash: line 20: 1m依赖安装完毕...建议重启: command not found
bash: line 22: $'\E[36m\E[0m': command not found
bash: line 22: 1m有任何问题,请在此仓库提交Issue:: command not found

请按模板规范填写提交 ISSUE, 否则无法定位问题

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
报错 Log 日志,日志截图

Desktop (please complete the following information):

  • OS: [e.g. Linux, 群辉,OpenWrt 等等]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.