pnpm安装问题
# 使用pnpm时候,如果遇到以下报错
ERR_PNPM_ADDING_TO_ROOT Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true.
1
可以执行以下命令
pnpm add vite -w
1
上次更新: 2024/09/30, 20:40:22