Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to deploy and create a new site #6986

Open
fidoogle opened this issue Jan 7, 2025 · 1 comment
Open

Trying to deploy and create a new site #6986

fidoogle opened this issue Jan 7, 2025 · 1 comment
Labels
type: bug code to address defects in shipped code

Comments

@fidoogle
Copy link

fidoogle commented Jan 7, 2025

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

@fidoogle fidoogle added the type: bug code to address defects in shipped code label Jan 7, 2025
@teddythinh
Copy link

I am also getting this error.

 ›   Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
If you recently updated the CLI, consider reverting to an older version by running:

npm install -g netlify-cli@VERSION

You can use any version from https://ntl.fyi/cli-versions.

Please report this problem at https://ntl.fyi/cli-error including the error details below.

TypeError: Cannot read properties of undefined (reading 'value')
    at ListPrompt.getCurrentValue (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/lib/prompts/list.js:150:53)
    at MapSubscriber._next (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/node_modules/rxjs/internal/operators/map.js:49:35)
    at Subscriber.next (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/node_modules/rxjs/internal/Subscriber.js:66:18)
    at TakeSubscriber._next (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/node_modules/rxjs/internal/operators/take.js:54:30)
    at Subscriber.next (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/node_modules/rxjs/internal/Subscriber.js:66:18)
    at Interface.handler (/Users/<changed>/.local/share/fnm/node-versions/v20.18.0/installation/lib/node_modules/netlify-cli/node_modules/inquirer/node_modules/rxjs/internal/observable/fromEvent.js:22:28)
    at Interface.emit (node:events:531:35)
    at Interface.emit (node:domain:488:12)
    at [_onLine] [as _onLine] (node:internal/readline/interface:417:12)
    at [_line] [as _line] (node:internal/readline/interface:888:18)

  System:
    OS: macOS 13.7.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  Binaries:
    Node: 20.18.0 - ~/.local/state/fnm_multishells/84194_1740234046551/bin/node
    Yarn: 1.22.22 - ~/.local/state/fnm_multishells/84194_1740234046551/bin/yarn
    npm: 10.9.0 - ~/.local/state/fnm_multishells/84194_1740234046551/bin/npm
  Browsers:
    Safari: 16.6
  npmGlobalPackages:
    netlify-cli: 18.1.0

Note that I have changed my computer name with <changed>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

2 participants