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

Error when running yarn codegen <network> after running yarn build inside the subgraph app #915

Open
vplasencia opened this issue Dec 5, 2024 · 6 comments · May be fixed by #934
Open
Assignees
Labels
bug 🐛 Something isn't working devops 🔧 Operations management and dev tools good first issue Good for newcomers

Comments

@vplasencia
Copy link
Member

vplasencia commented Dec 5, 2024

Description

The error is the same as the issue: #876. It is solved (PR: #884) when building the subgraph from the root project directory but not when building the subgraph inside the apps/subgraph application. It would be nice to solve it inside the subgraph app since it's used to deploy the subgraphs.

Reproduce the error

Steps:

1- Go to the subgraph project: cd apps/subgraph

2- Run yarn

3- Run yarn build:sepolia

4- Run yarn codegen sepolia

@vplasencia vplasencia added bug 🐛 Something isn't working good first issue Good for newcomers devops 🔧 Operations management and dev tools labels Dec 5, 2024
@vplasencia vplasencia changed the title Error when running yarn build inside the subgraph app Error when running yarn codegen inside the subgraph app Dec 5, 2024
@vplasencia vplasencia changed the title Error when running yarn codegen inside the subgraph app Error when running yarn codegen <network> inside the subgraph app Dec 5, 2024
@vplasencia vplasencia changed the title Error when running yarn codegen <network> inside the subgraph app Error when running yarn codegen <network> after running yarn build inside the subgraph app Dec 5, 2024
@Dozie2001
Copy link
Contributor

Hey @vplasencia can I tackle this?

@vplasencia
Copy link
Member Author

Hey @Dozie2001 yes! Do you want me to assign you this issue?

@Dozie2001
Copy link
Contributor

Yes please

@vplasencia
Copy link
Member Author

Hey @Dozie2001! Done! Feel free to ask any questions you may have.

@Dozie2001
Copy link
Contributor

Dozie2001 commented Dec 20, 2024

Ok on it!
Hey @vplasencia I am not able to reproduce the error on my machine following the steps you listed

@vplasencia
Copy link
Member Author

Hey @Dozie2001! Thank you for letting us know. I just updated the issue description. Please, let us know if you are still unable to reproduce the error.

@Dozie2001 Dozie2001 linked a pull request Dec 22, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working devops 🔧 Operations management and dev tools good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants