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

matchstick fails with panick when using graph-ts version above 0.19.20 #1558

Open
kmjones1979 opened this issue Jan 11, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@kmjones1979
Copy link
Contributor

kmjones1979 commented Jan 11, 2024

Which packages are impacted by your issue?

@graphprotocol/graph-ts

Describe the issue

Gnosis reported a dependency issue when trying to use graph test

$_ graph test   
Skipping download/install step because binary already exists at /Users/kevinjones/.config/yarn/global/node_modules/binary-install-raw/bin/0.6.0

___  ___      _       _         _   _      _
|  \/  |     | |     | |       | | (_)    | |
| .  . | __ _| |_ ___| |__  ___| |_ _  ___| | __
| |\/| |/ _` | __/ __| '_ \/ __| __| |/ __| |/ /
| |  | | (_| | || (__| | | \__ \ |_| | (__|   <
\_|  |_/\__,_|\__\___|_| |_|___/\__|_|\___|_|\_\
    
Compiling...

💬 Compiling bulbafloor...
thread 'main' panicked at '🆘 Internal error during compilation: No such file or directory (os error 2).
Command path: "/Users/kevinjones/projects/thegraph/bulbafloor/packages/subgraph/node_modules/assemblyscript/bin/asc"
Globals path: "/Users/kevinjones/projects/thegraph/bulbafloor/packages/subgraph/node_modules/@graphprotocol/graph-ts/global/global.ts"
Libs folder: "/Users/kevinjones/projects/thegraph/bulbafloor/packages/subgraph/node_modules"', src/compiler/mod.rs:131:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Reproduction

graph test

Steps to Reproduce the Bug or Issue

  1. git clone https://github.com/gnosisguild/bulbafloor.git
  2. cd bulbafloor
  3. pnpm install
  4. cd packages/subgraph
  5. graph test

Expected behavior

It would be nice to catch this error and display the required version for graph-ts

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS]
  • NodeJS: [e.g. v18.17.1]

Subgraph Manifest

NA

Subgraph GraphQL Schema

NA

Additional context

NA

@kmjones1979 kmjones1979 added the bug Something isn't working label Jan 11, 2024
@kmjones1979
Copy link
Contributor Author

A response from Maks on this was posted here in Discord for reference: https://discord.com/channels/438038660412342282/869962833528512543/1194736455793254522

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

No branches or pull requests

1 participant