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
{{ message }}
Repository navigation
Packages calling Module.enableCompileCache produce an error #2128
After installing the latest version of prettier (currently: 3.9.4), running the command npx prettier . --check in the terminal produces this:
❯ npx prettier . --check
TypeError: Cannot read properties of undefined (reading '0')
at Module.enableCompileCache (node:internal/modules/helpers:177:2187)
at Object.eval (/home/projects/stackblitz-starters-qcufpt34/node_modules/prettier/bin/prettier.cjs:61:14)
at Module._compile (node:internal/modules/cjs/loader:160:19302)
at Module._extensions..js (node:internal/modules/cjs/loader:160:20043)
at Module.load (node:internal/modules/cjs/loader:160:17661)
at Module._load (node:internal/modules/cjs/loader:160:15179)
at wrapModuleLoad (node:internal/modules/cjs/loader:160:4199)
at Module.executeUserEntryPoint (node:internal/modules/run_main:179:2179)
at internal/main/run_main_module (node:internal/main/run_main_module:155:484)
Activity
bolt-new-by-stackblitz commentedon Jul 1, 2026
SamVerschueren commentedon Jul 6, 2026
This is indeed an issue. I'm releasing a fix as we speak.
SamVerschueren commentedon Jul 6, 2026
This is fixed now. Thanks for reporting!