payloadcms / payloadcms/website

Invalid images.remotePatterns entry crashes next dev

Open
#490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
634
Forks
195
Avg merge
11h 43m
Merged PRs (30d)
17

Description

Bug description

Fresh clone + pnpm dev fails due to invalid images.remotePatterns config.

Steps to reproduce
  1. Clone repo
  2. Install deps (pnpm install)
  3. Run pnpm dev
Image
Expected behavior

Next.js dev server starts normally.

Actual behavior

Dev server crashes with:

Environment
  • Next.js (current repo version)
  • pnpm
  • No custom config
  • Minimal .env
Suggested fix

Remove or correct the invalid remotePatterns entry.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the images.remotePatterns configuration, then reproduce the failure with pnpm install and pnpm dev. Done means the invalid entry is corrected or removed and the Next.js development server starts normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.