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

安装时出现npm error code ERESOLVE #63

Open
VvLin-61 opened this issue Sep 14, 2024 · 1 comment
Open

安装时出现npm error code ERESOLVE #63

VvLin-61 opened this issue Sep 14, 2024 · 1 comment

Comments

@VvLin-61
Copy link

安装的时候出现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: [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-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: [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-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

  • OS: [unraid]
  • Version [2.17.10]
    image
    image
@WudaxStudio
Copy link

同问

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

2 participants