bash: line 40: 当前node版本(如果没有node,请自行安装): : command not found
bash: line 44: 当前npm版本(如果没有npm,请自行安装): : command not found
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.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: react@18.2.0
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/react@4.2.1
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-09-13T23_41_50_498Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_50_498Z-debug-0.log
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: react@18.2.0
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/react@4.2.1
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-09-13T23_41_59_623Z-eresolve-report.txt
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_59_623Z-debug-0.log
sh: docker: not found
安装的时候出现npm error ,看起来像是react升级了导致冲突
2.17.10 root@8a21b5c938d4:/ql $ 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 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. npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: undefined@undefined npm error Found: react@18.2.0 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/react@4.2.1 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-09-13T23_41_50_498Z-eresolve-report.txt npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_50_498Z-debug-0.log npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: undefined@undefined npm error Found: react@18.2.0 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/react@4.2.1 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-09-13T23_41_59_623Z-eresolve-report.txt npm error A complete log of this run can be found in: /root/.npm/_logs/2024-09-13T23_41_59_623Z-debug-0.log sh: docker: not found