-
[ Error ] The Edge Function "middleware" is referencing unsupported modules:Error 2023. 9. 1. 14:01
Next.Js vercel 배포 중 에러
Next.Js 13 , Vercel 배포 중 마지막 단계에서 오류가 발생했다.
에러 메세지는 다음과 같다.
The Edge Function "middleware" is referencing unsupported modules:
- index.js : ./resvg.wasm?module, ./yoga.wasm?module해결법
gpt 답변도 해결책이 되지 않았고 구글 검색을 해도 게시글 개수가 거의 없었는데,
vercel 깃허브 issue에 등록되어 있는 답변을 통해 해결할 수 있었다. -> (해당 Issue 게시글)
Next.Js 버전을 13.4.4에서 13.4.3으로 다운그레이드하여 해결할 수 있다.
해당 에러에 관련된 게시글이 검색해도 없어서, 누군가에게 도움이 되었으면 하는 마음에 기록을 남긴다 😊
'Error' 카테고리의 다른 글
[ Error ] Styled-Components install error (0) 2023.05.08 [ Error ] Typescript image import error (0) 2023.05.01