default loader is not compatible with `next export #509
-
|
While deploying to fleek. I'm getting this error that default loader is not compatible with I have already removed loader prop but still I'm getting this error.
Why am I getting this? I thinking to deploy on vercel |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If you want to deploy on vercel, you wouldn't do Basically, the What you can do is:
|
Beta Was this translation helpful? Give feedback.
If you want to deploy on vercel, you wouldn't do
next exportsince vercel has a server on the backend.Basically, the
Imagetag from Next does some optimizations server side, so you need a server to run the app.next exportexports your code to a static folder (aka, no server). It can't do that with non-static code.What you can do is:
Imagetag with some otherimagetag.next export