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
Trying to format a .Svelte file using the plugin, but I get:
["ERROR" - 9:47:20 PM] Error formatting document.
["ERROR" - 9:47:20 PM] printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed
Error: printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed
at printEmbeddedLanguages (file:///C:/git/project/node_modules/.pnpm/[email protected]/node_modules/prettier/index.mjs:17963:11)
at printAstToDoc (file:///C:/git/project/node_modules/.pnpm/[email protected]/node_modules/prettier/index.mjs:18094:9)
at async coreFormat (file:///C:/git/project/node_modules/.pnpm/[email protected]/node_modules/prettier/index.mjs:18405:14)
at async formatWithCursor (file:///C:/git/project/node_modules/.pnpm/[email protected]/node_modules/prettier/index.mjs:18603:14)
at async Module.format2 (file:///C:/git/project/node_modules/.pnpm/[email protected]/node_modules/prettier/index.mjs:21789:25)
Trying to format a
.Svelte
file using the plugin, but I get:Package version is the latest one:
The text was updated successfully, but these errors were encountered: