-
Notifications
You must be signed in to change notification settings - Fork 810
Open
Labels
Description
Describe the Bug
Recently, I migrate to Biome
from Prettier
due to performance. After migration when i run my app using next dev
I got error that Package prettier can't be external
:
β ./node_modules/.pnpm/@[email protected]_r_4cd7d00f12bf0fb695da21a0bfbc8367/node_modules/@react-email/render/dist/node
Package prettier can't be external
The request prettier/plugins/html matches serverExternalPackages (or the default list).
The request could not be resolved by Node.js from the project directory.
Packages that should be external need to be installed in the project directory, so they can be resolved from the output files.
Try to install it into the project directory by running npm install prettier from the project directory.
If user did not intrested in using prettier then why this type of warningis occured.
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://github.com/resend/resend-nextjs-app-router-example
To Reproduce
- Configure
Next.js
app. - Remove
Prettier
and integrateBiome
. - Do some basic setup for
react-email
- Run the app, you see the issue.
Expected Behavior
There should be no error.
What's your node version? (if relevant)
22.18.0