在使用pnpm install 安装依赖时,报错ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the overrides 这是pnpm在读package.json中的配置时出现的问题,resolutions存在"//"。这里把'//'行删掉,重新pnpm install 就可以了
1.执行pnpm install的时候报错:ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the overrides 翻译:在overrides里面无法解析"//" 这个问题在issue中能找到,作者也有回答. 解决办法如下: 删除无法解析的"//", pnpm降级到6.23.6(没试,不想降级) 这是pnpm在读package.json中的配置时...
pnpm 的配置文件通常是 pnpm-workspace.yaml 或pnpm-workspace.yml,也可能是在 package.json 中的pnpm 字段下。你需要检查这些文件中是否存在 overrides 字段,并查看其中是否有使用 "//" 选择器的情况。 以下是一个示例的 pnpm-workspace.yaml 文件片段,展示了 overrides 字段的用法: yaml packages: - '*' overr...
pnpm version: 6.24.0 Code to reproduce the issue: windows command line execute the pnpm install Expected behavior: install packages Actual behavior: show error `ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the ove...
拉取代码后,安装依赖提示 pnpm install 提示 ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the overrides fix "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is a...
1. 执行pnpm install的时候报错 ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the overrides 翻译:在overrides里面无法解析"//" 这个问题在issue中能找到, 解决办法如下: 删除无法解析的"//", pnpm降级到6.23.6(没试,不想降级) ...
warning vscode-languageclient@7.0.0: The engine "vscode" appears to be invalid. [3/4] Linking dependencies... warning " > @caldwell619/react-hooks@0.0.6" has unmet peer dependency "next@>=11". warning "@emotion/styled > @emotion/babel-plugin@11.3.0" has unmet peer dependency "@babel/...
pnpm version: 6.25.1 Code to reproduce the issue: pnpm install GET https://xxx/xxx/sentry-cli.git error (undefined). Will retry in 10 seconds. 2 retries left. https://xxx/xxx/sentry-cli.git is a private gitlab url. I use yarn install to ...
message: 'The lockfile is broken! pnpm will attempt to fix it.', message: error.message, prefix: ctx.lockfileDir, }) logger.error(new PnpmError(error.code, 'The lockfile is broken! A full installation will be performed in an attempt to fix it.')) return _installInContext(projects, ctx...