We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am following instructions from this page.
After running sudo yarn init:dev:env I'm getting the following error:
sudo yarn init:dev:env
Full error here:
ubuntu@sorenserver:~/govern$ sudo yarn init:dev:env yarn run v1.22.17 $ scripts/init.dev.env.sh $ hardhat compile --force Compiling 27 files with 0.6.8 @aragon/govern-contract-utils/contracts/erc165/ERC165.sol:16:5: Warning: Function state mutability can be restricted to pure function supportsInterface(bytes4 _interfaceId) virtual public view returns (bool) { ^ (Relevant source part starts here and spans across multiple lines). Compilation finished successfully Creating Typechain artifacts in directory typechain for target ethers-v5 Successfully generated Typechain artifacts! >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ** ** ** Contracts compiled and ABIs extracted ** ** ** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $ HOST_UID=$(id -u) HOST_GID=$(id -g) docker-compose down Removing govern-server_graph-node_1 ... done Removing govern-server_postgres_1 ... done Removing govern-server_ipfs_1 ... done Removing govern-server_ganache_1 ... done Removing network govern-server_default $ HOST_UID=$(id -u) HOST_GID=$(id -g) docker-compose up -d Creating network "govern-server_default" with the default driver Creating govern-server_postgres_1 ... done Creating govern-server_ipfs_1 ... done Creating govern-server_ganache_1 ... done Creating govern-server_graph-node_1 ... done Waiting until containers are ready... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ** ** ** All containers started successfully ** ** ** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $ graph create aragon/aragon-govern-rinkeby --node http://localhost:8020 Could not get access token from libsecret (usually gnome-keyring or ksecretservice): Cannot store the access token because dependencies are missing. If you are on Linux, try installing 'libsecret-1-dev' (Debian, Ubuntu etc.) or 'libsecret-devel' (RedHat, Fedora etc.) and reinstalling Graph CLI afterwards. The original error was: Cannot find module 'keytar' Require stack: - /home/ubuntu/govern/packages/govern-subgraph/node_modules/@graphprotocol/graph-cli/src/command-helpers/auth.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/@graphprotocol/graph-cli/src/commands/auth.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/gluegun/build/loaders/module-loader.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/gluegun/build/loaders/command-loader.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/gluegun/build/runtime/runtime.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/gluegun/build/domain/builder.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/gluegun/build/index.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/@graphprotocol/graph-cli/src/cli.js - /home/ubuntu/govern/packages/govern-subgraph/node_modules/@graphprotocol/graph-cli/bin/graph Continuing without an access token Created subgraph: aragon/aragon-govern-rinkeby >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ** ** ** Subgraph created locally ** ** ** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $ LOCAL=true scripts/deploy.sh aragon govern rinkeby > Building manifest file subgraph.yaml Generating manifest from data file: manifest/data/rinkeby.json { "network": "rinkeby", "dataSources": { "GovernRegistry": [ { "name": "GovernRegistry", "address": "0xf46253ef29FaedAbf63AA8cA6c0A41CbbdC93948", "startBlock": 9063490 } ] } } > Generating types Apply migration: Bump mapping apiVersion from 0.0.1 to 0.0.2 Apply migration: Bump mapping apiVersion from 0.0.2 to 0.0.3 Apply migration: Bump mapping apiVersion from 0.0.3 to 0.0.4 Skip migration: Bump mapping specVersion from 0.0.1 to 0.0.2 ✔ Apply migrations ✖ Failed to load subgraph from subgraph.yaml: Error in subgraph.yaml: Path: templates > 0 > mapping > abis > 1 > file File does not exist: ../govern-contract-utils/abi/contracts/erc20/ERC20.sol/ERC20.json error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ** ** ** Couldn't deploy the subgraph locally ** ** ** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ubuntu@sorenserver:~/govern$
The text was updated successfully, but these errors were encountered:
Just trying to get started. Any help would be appreciated!
Sorry, something went wrong.
Looks like it's looking for this file, which does not exist...
My very hacky solution was to create the file and reference the ERC20 ABI from here: https://gist.github.com/veox/8800debbf56e24718f9f483e1e40c35c
No branches or pull requests
I am following instructions from this page.
After running
sudo yarn init:dev:env
I'm getting the following error:Full error here:
The text was updated successfully, but these errors were encountered: