vben-admin-thin-next
vben-admin-thin-next copied to clipboard
pnpm install 提示 ERR_PNPM_INVALID_OVERRIDE_SELECTOR Cannot parse the "//" selector in the overrides
拉取代码后,安装依赖提示
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 abroad, you can delete it", "bin-wrapper": "npm:bin-wrapper-china", "rollup": "^2.56.3" },
删除package.json 中的 //。一行