Skip to content

fix: pnpm commit execution error #4181

Open
@limuen

Description

@limuen

Steps to Reproduce

1. pnpm commit
2. git add -A && czg && git push
3. [email protected]

Directory import '/Users/limuen/Documents/github/React-Pro-Admin/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/config-conventional/lib' is not supported resolving ES modules imported from /Users/limuen/Documents/github/React-Pro-Admin/node_modules/.pnpm/@[email protected]/node_modules/@commitlint/config-conventional/wrapper.mjs

 ELIFECYCLE  Command failed with exit code 1.

Current Behavior

No response

Expected Behavior

Normally, the option to commit lint.config should appear

Affected packages

  • cli
  • core
  • prompt
  • config-angular

Possible Solution

No response

Context

No response

commitlint --version

18.6.3

git --version

2.39.3 (Apple Git-145)

node --version

20.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions