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

"Error: Netlify CLI has terminated unexpectedly This is a problem with the Netlify CLI, not with your application" #6407

Open
evanescente-ondine opened this issue Feb 27, 2024 · 3 comments
Labels
type: bug code to address defects in shipped code

Comments

@evanescente-ondine
Copy link

Describe the bug

Logging into your Netlify account...
Opening https://app.netlify.com/authorize?response_type=ticket&ticket=d2bcb12d06c97ec944193db384c3fd78
⠋ Waiting for authorization...
 ›   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.

⠋ Waiting for authorization...Error: spawn chromium --enable-features=UseOzonePlatform --ozone-platform=wayland ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

  System:
    OS: Linux 6.6 Debian GNU/Linux trixie/sid
    CPU: (6) x64 AMD FX(tm)-6100 Six-Core Processor
  Binaries:
    Node: 18.19.0 - /usr/local/bin/node
    npm: 10.4.0 - /usr/local/bin/npm
  Browsers:
    Firefox: 115.7.0esr
  npmGlobalPackages:
    netlify-cli: 17.17.0

Steps to reproduce

netlify init, netlify login, netlify deploy, all of these commands that require authentification and/or linking the folder to a repository, cause that message. No window open, with firefox or chromium. And using the URL to authentify on netlify.com has no effect whatsoever. I do it, and it's like nothing happened.

Configuration

I have none, because I can't link the folder with my repository.

Environment

System:
OS: Linux 6.6 Debian GNU/Linux trixie/sid
CPU: (6) x64 AMD FX(tm)-6100 Six-Core Processor
Memory: 6.10 GB / 7.75 GB
Container: Yes
Shell: 3.7.0 - /usr/bin/fish
Binaries:
Node: 18.19.0 - /usr/local/bin/node
npm: 10.4.0 - /usr/local/bin/npm
npmGlobalPackages:
netlify-cli: 17.17.0

@evanescente-ondine evanescente-ondine added the type: bug code to address defects in shipped code label Feb 27, 2024
@SylvainGibert
Copy link

have you found a solution ? i had the same problem today with
netlify-cli: 17.19.5
node 21.6.0

using yarn 1.22.19

@ashesashes
Copy link

Same issue with [v17.21.2]
Node: 21.5.0

@ShaneFelthamGitHub
Copy link

Same issue here with multiple versions of netlify-cli as I rolled back versions as per the message.
Node v20.11.1

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

4 participants