hasura / hasura/graphql-engine

hasura-cli v3 issue on macOS

Open
#7,377 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

This happens only on macOS. On windows I don't have the issue. I have hasura-cli but it still asks me to install it when I run
`npx -p hasura-cli hasura --project hasura metadata reload`
and then I get this error

![image](https://user-images.githubusercontent.com/5454090/128857723-2c2d0e50-bcd4-48fe-984f-d739c3357faa.png)

But I have hasura-cli installed 100%.
![image](https://user-images.githubusercontent.com/5454090/128857770-9edbf6f5-12aa-4572-a452-0e202b76ccb3.png)

Contributor guide

Open the contributing guide

Research direction

The reported entry point is `npx -p hasura-cli hasura --project hasura metadata reload` on macOS; begin by reproducing it and comparing the installed CLI path with the command's resolution. Done means the command no longer prompts for installation or reports the shown error when the CLI is installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.