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
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/retep/repos/PrairieLearn/node_modules/@reteps/dockerfmt/dist/node.js from /home/retep/repos/PrairieLearn/node_modules/prettier-plugin-sh/lib/index.cjs not supported.
Instead change the require of node.js in /home/retep/repos/PrairieLearn/node_modules/prettier-plugin-sh/lib/index.cjs to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/retep/repos/PrairieLearn/node_modules/prettier-plugin-sh/lib/index.cjs:3:17)
Activity
JounQin commentedon Apr 8, 2025
The problem is that dockerfmt is not dual package.