Trying to deploy and create a new site
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 474
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 53
Description
Describe the bug
TypeError: Cannot read properties of undefined (reading 'value')
at ListPrompt.getCurrentValue (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\inquirer\lib\prompts\list.js:121:53)
at MapSubscriber._next (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\rxjs\internal\operators\map.js:49:35)
at Subscriber.next (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\rxjs\internal\Subscriber.js:66:18)
at TakeSubscriber._next (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\rxjs\internal\operators\take.js:54:30)
at Subscriber.next (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\rxjs\internal\Subscriber.js:66:18)
at Interface.handler (C:\Users\fidel\AppData\Roaming\nvm\v20.11.0\node_modules\netlify-cli\node_modules\rxjs\internal\observable\fromEvent.js:22:28)
at Interface.emit (node:events:530:35)
at Interface.emit (node:domain:488:12)
at [_onLine] [as _onLine] (node:internal/readline/interface:416:12)
at [_line] [as _line] (node:internal/readline/interface:887:18)
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
Binaries:
Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (127.0.2651.86)
Steps to reproduce
From Windsurf Bash terminal issued the command netlify deploy.
Chose create new site
Left Team as blank and hit enter key.
Got the error message in description
Configuration
No response
Environment
Windows 11, Windsurf editor
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing netlify deploy on Windows 11 with Node 20.11.0, selecting “create new site” and leaving Team blank. Trace the prompt flow associated with the reported ListPrompt.getCurrentValue stack trace; done means the blank-Team path no longer throws and the deployment flow continues or reports a clear error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100