Next.js Discord

Discord Forum

Hide "Package xyz can't be externalThe request xyz"matches serverExternalPackages (or the default..

Unanswered
Whiteleg shrimp posted this in #help-forum
Open in Discord
Whiteleg shrimpOP
Hi, it's any way to hide this messages?
There are all over the console and it's very annoying when debugging

Package @aws-sdk/client-s3 can't be external
The request @aws-sdk/client-s3 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 @aws-sdk/client-s3 from the project directory.

0 Replies