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

[CLI] Fix spawn error when initializing a new xata database #1452

Closed
creative-tutorials opened this issue Apr 26, 2024 · 2 comments
Closed
Labels
bug Something isn't working needs-triage

Comments

@creative-tutorials
Copy link

creative-tutorials commented Apr 26, 2024

Describe the bug

When I try to initialize xata into my new project, I get an error that says:

Running pnpm add @xata.io/client
    Error: spawn EINVAL
    Code: EINVAL

It doesn't even create the xata.ts file or even install the @xata.io/client package.

To Reproduce

Command I used

xata init

Output of the error

Running pnpm add @xata.io/client
    Error: spawn EINVAL
    Code: EINVAL

Expected behavior

Normally when running xata init it generates the .xata.ts file and installs the @xata.io/client package

Software version

The CLI version I'm running is: @xata.io/cli/0.15.11 win32-x64 node-v20.12.2

Additional context

@creative-tutorials creative-tutorials added the bug Something isn't working label Apr 26, 2024
@creative-tutorials creative-tutorials changed the title [CLI] Fix spawn error when initializing my xata database [CLI] Fix spawn error when initializing a new xata database Apr 26, 2024
@SferaDev
Copy link
Member

SferaDev commented Jun 2, 2024

Fixed by #1466

@SferaDev SferaDev closed this as completed Jun 2, 2024
@creative-tutorials
Copy link
Author

Fixed by #1466

You're amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants