vbenjs / vue-vben-admin

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
https://www.vben.pro
MIT License
25.17k stars 6.86k forks source link

yarn version3.5,安装依赖 @vben/eslint-config@workspace:*: Workspace not found #2722

Closed chuangfengdehua closed 1 year ago

chuangfengdehua commented 1 year ago

⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

描述 Bug

使用yarn version3.5, yarn install 报错 提示: Error: @vben/eslint-config@workspace:: Workspace not found (@vben/eslint-config@workspace:)

复现 Bug

系统信息

chuangfengdehua commented 1 year ago

是不是 yarn版本高的原因, 我看这个依赖来源自私服

xingyuv commented 1 year ago

用pnpm试试

chuangfengdehua commented 1 year ago

使用pnpm是可以的

OldTomhhh commented 1 year ago

在docker里面用pnpm 安装不起,ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vben/eslint-config@workspace:*" is in the dependencies but no package named "@vben/eslint-config" is present in the workspace

ht176 commented 1 year ago

在docker里面用pnpm 安装不起,ERR_PNPM_WORKSPACE_PKG_NOT_FOUND 在 : “@vben/eslint-config@workspace:*” 中,但工作区中不存在名为 “@vben/eslint-config” 的包

升级pnpm版本至最新试试

bigbenz commented 11 months ago

这个问题有解决吗?

bigbenz commented 11 months ago

在docker里面用pnpm 安装不起,ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "@vben/eslint-config@workspace:*" is in the dependencies but no package named "@vben/eslint-config" is present in the workspace

我也遇到这个问题,请问有解决吗?

wangjue666 commented 11 months ago

我也遇到这个问题,请问有解决吗?

@bigbenz node版本多少 pnpm版本多少

bigbenz commented 11 months ago

我也遇到这个问题,请问有解决吗?

@bigbenz node版本多少 pnpm版本多少

nodejs 18.18 (node 16.60 也试过,一样的错误) pnpm 8.10.5 yarn 1.22.19

wangmingzhitu commented 10 months ago

有人解决吗?这个错误

wangjue666 commented 10 months ago

有人解决吗?这个错误

请使用pnpm安装, 用了monorepo引入的包, yarn不识别