MAKE IT SIMPLE
Error: Image Optimization using Next.js' default loader is not compatible with next export. 본문
React
Error: Image Optimization using Next.js' default loader is not compatible with next export.
빈빠끄 2022. 2. 10. 05:20Next.js 앱을 처음 배포하는데 또 에러가 났다
// next.config.js
moduel.exports = {
images: {
loader: 'akamai',
path: '/',
}
}
next.config.js에 'akamai' 로더로 이미지를 불러와주면 해결된다 끝!
'React' 카테고리의 다른 글
| React로 동적 피벗 테이블 만들기: 트리 모델링부터 rowSpan까지 (0) | 2026.05.30 |
|---|---|
| SSE 기반 LLM 응답 스트리밍 구현기 (1) | 2026.05.19 |
| EventBus에 대해서 알아야 할것들 (feat. 잘쓰면 넘나 좋다) (5) | 2026.01.19 |
| 프론트엔드가 복잡해질수록 먼저 무너지는 것: 상태 관리 (2) | 2025.12.30 |
Comments