Missing `loader` Prop on `next/image`
Why This Error Occurred
When using the next/image component with loader="custom" in next.config.js, you must provide the loader prop to the component with your custom implementation.
Possible Ways to Fix It
- Add the
loaderprop to all usages of thenext/imagecomponent. - Change the
loaderconfiguration innext.config.js.
Useful Links
Was this helpful?