Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

群晖ds918+,用矿神的套件安装最新的青龙,安装依赖报错找不到npm,但是出现了版本号,尝试了2种方式:容器内安装和容器外安装 #57

Open
qzinori opened this issue Jul 8, 2024 · 0 comments

Comments

@qzinori
Copy link

qzinori commented Jul 8, 2024

root@fa8fea2b4528:/ql $ curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | bash

安装依赖...

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

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

bash: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
10.8.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

Already up to date
Progress: resolved 5, reused 5, downloaded 0, added 0, done
Done in 955ms
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 3.2s

changed 191 packages in 4s

33 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 5, reused 5, downloaded 0, added 0, done
Done in 2.3s
Requirement already satisfied: requests in /usr/local/lib/python3.11/site-packages (2.32.3)
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.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.11/site-packages (from requests) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.11/site-packages (from requests) (2024.7.4)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
OK: 585 MiB in 238 packages
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: [email protected]
npm error node_modules/react
npm error dev react@"18.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0" from @monaco-editor/[email protected]
npm error node_modules/@monaco-editor/react
npm error dev @monaco-editor/react@"4.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /root/.npm/_logs/2024-07-08T07_17_16_928Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-08T07_17_16_928Z-debug-0.log
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
OK: 585 MiB in 238 packages
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: [email protected]
npm error node_modules/react
npm error dev react@"18.2.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0" from @monaco-editor/[email protected]
npm error node_modules/@monaco-editor/react
npm error dev @monaco-editor/react@"4.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /root/.npm/_logs/2024-07-08T07_17_23_766Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-08T07_17_23_766Z-debug-0.log
OK: 585 MiB in 238 packages

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

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

root@fa8fea2b4528:/ql $ exit
exit
root@qzinori:#
root@qzinori:
# docker exec -it qinglong bash -c "$(curl -fsSL https://raw.githubusercontent.com/FlechazoPh/QLDependency/main/Shell/XinQLOneKey.sh | bash)"

bash: line 40: 当前node版本(如果没有node,请自行安装): : command not found
bash: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
bash: line 48: cd: /ql: No such file or directory
bash: line 49: pnpm: command not found
bash: line 51: pnpm: command not found
bash: line 55: pnpm: command not found
bash: line 57: pip3: command not found
bash: line 59: cd: /ql/data/scripts/: No such file or directory
bash: line 60: cd: /ql: No such file or directory
bash: line 61: apk: command not found
bash: line 62: cd: /ql: No such file or directory
bash: 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: v20.9.0: command not found
bash: line 13: 10.8.1: command not found
bash: line 15: changed: command not found
bash: line 17: 33: 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
root@qzinori:~#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant