-
Notifications
You must be signed in to change notification settings - Fork 130
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: yarn fails to install dependencies for Sub-Graph Studio #540
Comments
Cloned the subgraph repo from the course GitHub and added missing dependencies manually one by one. Still interested in knowing what the issue was with yarn during the install and if I am the only one that had the problem. |
Hey @DorianDaSilva 👋 Were you able to get past this issue? It looks like yarn/npm had trouble parsing a JSON object when it was trying to build dependencies for you project, so likely there was a malformed or unsupported object in your package.json or in a file in one of the dependencies. For the future please direct graph-cli issues to the the graph-cli repo or to the #subgraph-development channel in The Graph discord. |
I'm going to close this issue here. If you would like to flag the issue to the graph-cli development team and continue to root cause I'd suggest making a new issue in the graph-cli repo. |
================================================================================
================================================================================
I follow the steps below to set up a
sub-graph
ingraph studio
but install fails when yarn is installing dependencies.1-
yarn global add @graphprotocol/graph-cli
2-
graph init --studio nft-marketplace
- This is were the error is prompted on the final step (yarn dependencies)I do see the files and folders in VsCode but due to error with yarn I assume install is incomplete (img below)
====================================================================================
Package.json
====================================================================================
Yarn-error.log
====================================================================================
Can you please help me figure out a way around this issue, please? Thank you!
The text was updated successfully, but these errors were encountered: