FlechazoPh / QLDependency

青龙面板全依赖一键安装脚本 / Qinglong Pannel Dependency Install Scripts.
https://doc.flechazo.ml/青龙/2021-11-17-青龙依赖一键安装脚本.html
Apache License 2.0
1.84k stars 337 forks source link

debian 12 安装依赖报错 #46

Closed 0xdddddddd closed 10 months ago

0xdddddddd commented 1 year ago
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
ThekingMX1998 commented 1 year ago

能看到是你沒有安裝nodejs和npm

進入容器運行這段命令: ql check

FlechazoPh commented 10 months ago

能看到是你沒有安裝nodejs和npm

進入容器運行這段命令: ql check