Skip to content

fix: corepack manager use pnpm failed #452

fix: corepack manager use pnpm failed

fix: corepack manager use pnpm failed #452

Triggered via pull request February 5, 2025 09:13
Status Failure
Total duration 15s
Artifacts

cypress.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error
test
/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22373 throw new UsageError(`This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field`); ^ UsageError: This project is configured to use yarn because /home/runner/work/nutui-react/nutui-react/package.json has a "packageManager" field at Engine.findProjectSpec (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22373:21) at async Engine.executePackageManagerRequest (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22404:24) at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:23096:5) { clipanion: { type: 'usage' } } Node.js v20.18.2