Build time error when using Redis inside Next.js
I use Redis in my Next.js project. It works good but it seems in built time (next build
) it tries to connect to Redis and since Redis connection is not available it throws this error:
I use Redis in my Next.js project. It works good but it seems in built time (next build
) it tries to connect to Redis and since Redis connection is not available it throws this error: