Error [ERR_REQUIRE_ESM]: require() of ES Module /home/koopa/Fountain/Code/web/hackathon-manager/node_modules/.pnpm/prettier-plugin-tailwindcss@0.5.10_prettier-plugin-svelte@3.1.2_prettier@3.1.1/node_modules/prettier-plugin-tailwindcss/dist/index.mjs not supported.
Instead change the require of /home/koopa/Fountain/Code/web/hackathon-manager/node_modules/.pnpm/prettier-plugin-tailwindcss@0.5.10_prettier-plugin-svelte@3.1.2_prettier@3.1.1/node_modules/prettier-plugin-tailwindcss/dist/index.mjs to a dynamic import() which is available in all CommonJS modules.
at f._load (node:electron/js2c/asar_bundle:2:13377)
at /home/koopa/Fountain/Code/web/hackathon-manager/home/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38143:10
at Array.map (<anonymous>)
at Object.load (/home/koopa/Fountain/Code/web/hackathon-manager/home/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38141:128)
at Object.load [as loadPlugins] (/home/koopa/Fountain/Code/web/hackathon-manager/home/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:16147:23)
at /home/koopa/Fountain/Code/web/hackathon-manager/home/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38181:24
at Object.format (/home/koopa/Fountain/Code/web/hackathon-manager/home/node_modules/.pnpm/prettier@2.8.8/node_modules/prettier/index.js:38197:12)
at SveltePlugin.formatDocument (/home/koopa/.vscode-oss/extensions/svelte.svelte-vscode-108.2.1/node_modules/svelte-language-server/dist/src/plugins/svelte/SveltePlugin.js:114:46)
at async PluginHost.tryExecutePlugin (/home/koopa/.vscode-oss/extensions/svelte.svelte-vscode-108.2.1/node_modules/svelte-language-server/dist/src/plugins/PluginHost.js:347:20)
at async Promise.all (index 0)
at async PluginHost.execute (/home/koopa/.vscode-oss/extensions/svelte.svelte-vscode-108.2.1/node_modules/svelte-language-server/dist/src/plugins/PluginHost.js:324:24)
at async PluginHost.formatDocument (/home/koopa/.vscode-oss/extensions/svelte.svelte-vscode-108.2.1/node_modules/svelte-language-server/dist/src/plugins/PluginHost.js:114:38) {
code: 'ERR_REQUIRE_ESM'
might have broke during the move to monorepo? .ts still works
might have broke during the move to monorepo?
.ts
still works