Windows running edgedb on command prompt returns a ClientNoCredentialsError
- Dominant language
- Python
- Stars
- 14.2k
- Forks
- 450
- PR merge metrics
- No merged PRs in 30d
Description
- EdgeDB Version: 2.6+ba1661b
- OS Version: Windows 10
Steps to Reproduce:
Run `edgedb` command on command prompt
`edgedb error: ClientNoCredentialsError: project is not initialized and no connection options are specified
Hint: Run `edgedb project init` or use any of `-H`, `-P`, `-I` arguments to specify connection parameters. See `--help` for details`
On powershell it works fine the command `edgedb` outputs:
Connecting to an EdgeDB instance at localhost:10700...
EdgeDB 2.6+ba1661b (repl 2.1.0+e136de4)
Type \help for help, \quit to quit.
edgedb>
Contributor guide
Research direction
Start by reproducing the `edgedb` entry point in Windows Command Prompt and PowerShell, comparing how each environment supplies connection or credential options. Trace the CLI initialization path and add coverage for the differing behavior; done means invoking `edgedb` without arguments behaves consistently in both shells.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, python
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100