![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FOlzZi%2FbtsH3NQJJ1e%2FWki0RA09jQcNSZpJxQkEMk%2Fimg.png)
🚨상황Invalid src prop (https://image.tmdb.org/t/p/w185/9BJxdhi4tuiQdgT8bfDuiPipnsx.jpg) on `next/image`, hostname "image.tmdb.org" is not configured under images in your `next.config.js` 원인 외부 이미지에 대한 호스트가 구성되지 않았다. 해결법next.config.js 파일을 생성하여 외부에서 불러올 이미지에 해당하는 hostname을 작성해준다.(아래 코드는 Next.js 14버전 기준으로 작성되었습니다.)// next.config.jsmodule.exports = { images: { remotePatterns: [ { p..