You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They made a rollback on @InQuirer to keep this feature, since it has some other libs still using it, but the recommendation of theirs continue: to upgrade to @inquirer/core, because they're rewriting the lib itself, since its +10 years old.
Today I tested here and everything went back to normal. Will definitely keep an eye at @commitizen and see if I can improve, but I think this solves for now and this issue can be closed.
Sounds like they kicked the can down the road, hehe. Which means, it's just a workaround, not the ultimate fix. So I think this github issue should be left open until we can adopt @inquirer/core.
Steps to Reproduce
Current Behavior
node:internal/modules/esm/resolve:255
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/steven/Desktop/Github/constore-ui/node_modules/inquirer/lib/prompts/input.js' imported from /Users/steven/Desktop/Github/constore-ui/node_modules/@commitlint/prompt/lib/inquirer/InputCustomPrompt.js
Expected Behavior
The "inquirer" module can be imported normally.
Affected packages
Possible Solution
The "inquirer" module should be used as is, for example:
Because the structure of the "inquirer" module may change!
Context
No response
commitlint --version
@commitlint/[email protected]
git --version
v2.42.0
node --version
v21.1.0
The text was updated successfully, but these errors were encountered: