Skip to content

multi-tenant example: examplesResponseList.map is not a function #14144

@cunneen

Description

@cunneen

Describe the Bug

npx create-payload-app --example multi-tenant

fails with error: examplesResponseList.map is not a function

Link to the code that reproduces this issue

See below

Reproduction Steps

> npx --dd create-payload-app --example multi-tenant

npm verbose cli /Users/mikecunneen/.nvm/versions/node/v24.5.0/bin/node /Users/mikecunneen/.nvm/versions/node/v24.5.0/lib/node_modules/npm/bin/npm-cli.js
npm info using [email protected]
npm info using [email protected]
npm verbose title npm exec create-payload-app --example multi-tenant
npm verbose argv "exec" "--loglevel" "verbose" "--" "create-payload-app" "--example" "multi-tenant"
npm verbose logfile logs-max:10 dir:/Users/mikecunneen/.npm/_logs/2025-10-10T03_27_38_651Z-
npm verbose logfile /Users/mikecunneen/.npm/_logs/2025-10-10T03_27_38_651Z-debug-0.log
npm http fetch GET 200 https://registry.npmjs.org/create-payload-app 944ms (cache revalidated)


┌   create-payload-app 

◇   ────────────────────────────────────────────╮
│                                               │
│  Welcome to Payload. Let's create a project!  │
│                                               │
├───────────────────────────────────────────────╯

◇  Project name?
│  blahblahblah

■  examplesResponseList.map is not a function

Which area(s) are affected? (Select all that apply)

plugin: multi-tenant, area: docs, area: templates

Environment Info

-session
> pnpm payload info

ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "payload" not found


---

os Darwin 24.6.0
node v24.5.0
npm  v11.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs-triagePossible bug which hasn't been reproduced yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions