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
Failed to run prettier: Error: Cannot find module 'prettier-plugin-jsdoc'
Error with installing dependencies:
Failed to run prettier: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/{project_name_here}}/node_modules/.pnpm/prettier-plugin-jsdoc@1.3.0_prettier@3.2.2/node_modules/prettier-plugin-jsdoc/dist/index.js from /home/runner/work/_actions/the-guild-org/changesets-dependencies-action/v1.2.2/dist/index.js not supported.
Instead change the require of /home/runner/work/andel-energi/andel-energi/node_modules/.pnpm/prettier-plugin-jsdoc@1.3.0_prettier@3.2.2/node_modules/prettier-plugin-jsdoc/dist/index.js in /home/runner/work/_actions/the-guild-org/changesets-dependencies-action/v1.2.2/dist/index.js to a dynamic import() which is available in all CommonJS modules.
Would it be possible to ignore prettier completely and handle my own logic in the preCommit hook?
Right now I'm forced to install my prettier dependencies for the action not to break, due to me using a plugin.
The text was updated successfully, but these errors were encountered:
Thanks for this lib. It is truly appreciated.
–
Prettier fails when plugin(s) are present in Prettier config.
Error without installing dependencies:
Error with installing dependencies:
Would it be possible to ignore prettier completely and handle my own logic in the
preCommit
hook?Right now I'm forced to install my prettier dependencies for the action not to break, due to me using a plugin.
The text was updated successfully, but these errors were encountered: