pluralith-cli
pluralith-cli copied to clipboard
Cannot generate graph on M1 Mac
I followed docs and successfully installed pluralith CLI on M1 Max Mac . Then, I tried to generate graph but it failed and output the following error.
$ pluralith graph
parsing response failed -> GetGitHubRelease: %!w(<nil>)
⠿ Initiating Graph ⇢ Posting Diagram To Pluralith Dashboard
→ Authentication
✔ API key is valid, you are authenticated!
→ Plan
✘ Couldn't Generate Local Execution Plan
Error: No configuration files
Plan requires configuration to be present. Planning without a configuration
would mark everything for destruction, which is normally not what is desired.
If you would like to destroy everything, run plan with the -destroy option.
Otherwise, create a Terraform configuration file (.tf file) and try again.
running terraform plan failed -> GenerateGraph: RunPlan: exit status 1
I think Graph Module Version: Not Installed below is likely to be a problem.
How do I install Graph Module on M1 Max Mac? Is this a problem related to supporting M1 Mac?
$ pluralith version
parsing response failed -> GetGitHubRelease: %!w(<nil>)
_
|_)| _ _ |._|_|_
| ||_|| (_||| | | |
→ CLI Version: 0.2.2
→ Graph Module Version: Not Installed
My Environment
- MacBook Pro 2021
- Apple M1 Max
- Ventura 13.5.2
In my case I get:
➜ pluralith graph
parsing response failed -> GetGitHubRelease: %!w(<nil>)
⠿ Initiating Graph ⇢ Posting Diagram To Pluralith Dashboard
→ Authentication
✔ API key is valid, you are authenticated!
→ Plan
✔ Local Execution Plan Generated
✔ Local Plan Cache Created
✔ Secrets Stripped
- Cost Calculation Skipped
→ Graph
✘ Local Diagram Generation Failed
generating diagram failed -> GenerateGraph: running CLI command failed -> GenerateDiagram: fork/exec /Users/HIDDEN/Pluralith/bin/pluralith-cli-graphing: no such file or directory
Environment:
- Macbook Pro 2020
- Apple M1
- Sonoma 14.0 (23A344)
In my case I get:
➜ pluralith graph parsing response failed -> GetGitHubRelease: %!w(<nil>) ⠿ Initiating Graph ⇢ Posting Diagram To Pluralith Dashboard → Authentication ✔ API key is valid, you are authenticated! → Plan ✔ Local Execution Plan Generated ✔ Local Plan Cache Created ✔ Secrets Stripped - Cost Calculation Skipped → Graph ✘ Local Diagram Generation Failed generating diagram failed -> GenerateGraph: running CLI command failed -> GenerateDiagram: fork/exec /Users/HIDDEN/Pluralith/bin/pluralith-cli-graphing: no such file or directoryEnvironment:
- Macbook Pro 2020
- Apple M1
- Sonoma 14.0 (23A344)
Ok, I found accidentally there is another CLI tool for graph which needs to be installed: https://github.com/Pluralith/pluralith-cli-graphing-release (in documentation barely saying about to install this graph module), however I still get errors:
➜ pluralith install graph-module
parsing response failed -> GetGitHubRelease: %!w(<nil>)
_
|_)| _ _ |._|_|_
| ||_|| (_||| | | |
Installing Latest Graph Module
✘ Parsing request result failed
parsing response failed -> GetGitHubRelease: %!w(<nil>)
➜ pluralith version
parsing response failed -> GetGitHubRelease: %!w(<nil>)
_
|_)| _ _ |._|_|_
| ||_|| (_||| | | |
→ CLI Version: 0.2.2
→ Graph Module Version: Not Installed
Getting these same errors. Also found the pluralith install graph-module thing via some manual investigation, and indeed seeing the same GetGitHubRelease parsing errors which prevent any of this from working... hmm. It's alpha software, perhaps download and earlier release?
same problem, you will find it always tried to download graph-module from a server, but always failed because of 503service not avaible. stop wasting your time on this product.
I have successfully run the pluralith graph command by manually downloading.
- Download from https://github.com/Pluralith/pluralith-cli-graphing-release/releases
- Rename the binary to
pluralith-cli-graphing - Move the downloaded binary to
~/Pluralith/bin/ - Run
chmod +x ~/Pluralith/bin/pluralith-cli-graphing - Run
pluralith version
Then you can see Graph Module Version: 0.2.1
%pluralith version
parsing response failed -> GetGitHubRelease: %!w(<nil>)
_
|_)| _ _ |._|_|_
| ||_|| (_||| | | |
→ CLI Version: 0.2.2
→ Graph Module Version: 0.2.1
I tried you do the same but for me not working
parsing response failed -> GetGitHubRelease: %!w(
→ CLI Version: 0.2.2 → Graph Module Version: Not Installed
Just rename ~/Pluralith/bin/pluralith_cli_graphing to pluralith-cli-graphing
Tried this on windows, can run --local-only but fails to upload to pluralith dashboard without.