Skip to content

Prettier warning in console #1910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Mr-Vipi opened this issue Feb 16, 2025 · 6 comments · Fixed by #1959
Closed

Prettier warning in console #1910

Mr-Vipi opened this issue Feb 16, 2025 · 6 comments · Fixed by #1959

Comments

@Mr-Vipi
Copy link

Mr-Vipi commented Feb 16, 2025

Describe the Bug

I have a nextjs app with prettier as a dev dependency.
Recently I upgraded the version of prettier to the latest one.
Since then now when I run my app I got this warning in the console:

Image

Which package is affected (leave empty if unsure)

@react-email/render

Link to the code that reproduces this issue

https://codesandbox.io/p/devbox/gifted-pare-ttrm7l

To Reproduce

fork this project in your codeSandbox open the termina and run pnpm run dev once the first page is loaded you should see the warning in the terminal console

Expected Behavior

should be no warnings in this case

What's your node version? (if relevant)

22.14.0

@MJomaa
Copy link

MJomaa commented Mar 10, 2025

Having the same issue. "Solved" it by downgrading prettier from 3.5.3 to 3.4.2.

@AndreyMay
Copy link

having the same issue

@lgertel
Copy link

lgertel commented Mar 14, 2025

Same issue here!

@h4sohail
Copy link
Contributor

Same here, this is blocking an upgrade for us.

@notflip
Copy link

notflip commented Mar 16, 2025

I solved it by locally installing pnpm add -D [email protected] (which is not the latest version)

@elie222
Copy link

elie222 commented Mar 22, 2025

Waiting for this to go live!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants