messari / subgraph-cli Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It seems that the cli expects a global installation of the graph cli. I think the CLI should instead execute npm run codegen
and npm run build
which lets each individual subgraph decide which version of the graph cli to use.
10:07AM /Users/paymahn/code/goldsky/messari-subgraphs master
❮❮❮ messari b uniswap-v3-polygon -l
stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout: stderr: stdout:
> prepare:constants
> mustache protocols/${npm_config_protocol}/config/deployments/${npm_config_id}/configurations.json configurations/configure.mustache > configurations/configure.ts
stderr: stdout: stderr: /bin/sh: graph: command not found
error: Error: Command failed: graph codegen
/bin/sh: graph: command not found
RESULTS:
Build Failed: uniswap-v3-polygon
END
Since I upgraded to messari-cli 0.1.52, it no longer throws an error when I haven't authenticated.
Instead it says in the terminal the deployment was successful.
Using the graph-cli, it would usually throw an error like so:
UNCAUGHT EXCEPTION: Error: Failed to deploy to Graph node https://api.thegraph.com/deploy/: auth failure::Invalid account name or access token
I'm on graph cli - 0.49
This is what happens to me every time. I just installed it so I'm on the latest version, and I opened a new terminal.
stdout: stderr: › Error: Nonexistent flag: --auth=***
› See more help with --help
error: Error: Command failed: graph deploy --auth=*** --product hosted-service org/repo
› Error: Nonexistent flag: --auth=***
› See more help with --help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.