Skip to content

graph test throws "Unsupported platform" on any Linux distro other than UbuntuΒ #1546

@KholdStare

Description

@KholdStare

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

Running graph test on any distro other than Ubuntu throws:

kholdstare@5ced7da9ec4e:~/workspace/code/blockchain/subgraph$ yarn graph test -l
OS type: Debian GNU/Linux
OS arch: x64
OS release: 11 (bullseye)
OS major version: 11
CPU model: AMD Ryzen 9 3900X 12-Core Processor
/home/kholdstare/workspace/code/node_modules/gluegun/build/index.js:15
    throw up;
    ^

Error: Unsupported platform: Linux x64 11

There should at least be an "escape hatch" where the user either manually specifies which release they want to use, or have a way to point at an existing release with a filepath. Ideally in the long-run, the binary is just statically linked and all of this is moot and it works on any linux distribution.

Reproduction

N/A

Steps to Reproduce the Bug or Issue

Use any Linux Distribution besides Ubuntu

Expected behavior

Be able to run graph test

Screenshots or Videos

No response

Platform

  • OS: Linux Debian 11
  • NodeJS: 18.19
  • @graphprotocol/graph-cli: 0.63.1
  • `@graphprotocol/graph-ts": "0.32.0"

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Bug

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions