北那那编号:
L4AfMi7X
作者:
考拉也喝水
发布时间: 2025-05-29 15:15:33
人气: 38
点赞:
(0)
查看点赞
评论:
(0)
收藏 (0)
打赏作者
分享到站外
举报内容
编辑
删除
内容:
使用npm最烦的就是 npm install 一初始化就各种报错
$ npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: hoppscotch-backend@2025.5.0
npm error Found: @nestjs/common@11.1.1
npm error node_modules/@nestjs/common
npm error @nestjs/common@"11.1.1" from hoppscotch-backend@2025.5.0
npm error packages/hoppscotch-backend
npm error hoppscotch-backend@2025.5.0
npm error node_modules/hoppscotch-backend
npm error workspace packages\hoppscotch-backend from the root project
npm error
npm error Could not resolve dependency:
npm error peer @nestjs/common@"^8.0.0 || ^9.0.0 || ^10.0.0" from @nestjs/passpor
t@11.0.0
npm error node_modules/@nestjs/passport
npm error @nestjs/passport@"11.0.0" from hoppscotch-backend@2025.5.0
npm error packages/hoppscotch-backend
npm error hoppscotch-backend@2025.5.0
npm error node_modules/hoppscotch-backend
npm error workspace packages\hoppscotch-backend 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作者了, 能不能自动修复所有不兼容的地方,ai都出来这么多年了,一个简单的依赖都不能自己调整版本安装补丁吗?