-
While initiating thgraph studio I am getting following error. graph init --studio nft-marketplace-demo
√ Protocol · ethereum
√ Subgraph slug · nft-marketplace-demo
√ Directory to create the subgraph in · nft-marketplace-demo
√ Ethereum network · rinkeby
√ Contract address · 0x268D7b76ADedD0ff56d62264eC468A35217723fC
√ Fetching ABI from Etherscan
√ Contract Name · NftMarketplace
———
Generate subgraph
Write subgraph to directory
√ Create subgraph scaffold
√ Initialize networks config
√ Initialize subgraph repository
× Failed to install dependencies: Command failed: yarn
warning @graphprotocol/graph-cli > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @graphprotocol/graph-cli > request > har-validator@5.1.5: this library is no longer supported
warning @graphprotocol/graph-cli > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @graphprotocol/graph-cli > ipfs-http-client > cids@0.7.5: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipfs-block > cids@0.7.5: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor@0.15.3: This module has been superseded by @ipld/dag-cbor and multiformats
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids@0.8.3: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb@0.17.4: This module has been superseded by @ipld/dag-pb and multiformats
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > cids@0.7.5: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw@4.0.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > cids@0.7.5: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > cids@0.7.5: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > multiaddr > cids@0.8.3: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > multicodec@0.5.7: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > cids > multicodec@1.0.4: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > multicodec@1.0.4: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > multicodec@1.0.4: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > multicodec@0.5.7: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > multicodec@1.0.4: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > multibase@0.6.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > cids > multibase@0.6.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > multibase@1.0.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > multibase@0.6.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > multiaddr > multibase@0.7.0: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > multihashes > multibase@0.7.0: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > multihashes > multibase@1.0.1: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > peer-info@0.15.1: No longer supported for js-libp2p0.28.0 or later
warning @graphprotocol/graph-cli > ipfs-http-client > promisify-es6@1.0.3: Unmaintained
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > multihashing-async@0.8.2: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > multihashing-async@0.7.0: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > multihashing-async@0.8.2: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > protons@1.2.1: This module is no longer maintained
warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > multihashing-async@0.5.2: This module has been superseded by the multiformats module
warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > protons@1.2.1: This module is no longer maintained
error Command failed.
Exit code: 128
Command: git
Arguments: fetch --tags
Directory: C:\Users\sanja\AppData\Local\Yarn\Cache\v6\.tmp\166c4037ddf7608d79e84e263dcd7746
Output:
fatal: unsafe repository ('C:/Users/sanja/AppData/Local/Yarn/Cache/v6/.tmp/166c4037ddf7608d79e84e263dcd7746' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory C:/Users/sanja/AppData/Local/Yarn/Cache/v6/.tmp/166c4037ddf7608d79e84e263dcd7746
warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > libp2p-crypto-secp256k1@0.3.1: Included in libp2p-crypto, use it instead. https://github.com/libp2p/js-libp2p-crypto
warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > libp2p-crypto-secp256k1 > multihashing-async@0.6.0: This module has been superseded by the multiformats module
C:\Users\sanja\AppData\Roaming\npm\node_modules\@graphprotocol\graph-cli\node_modules\gluegun\build\index.js:13
throw up;
^ Not sure whats the reason? @PatrickAlphaC |
Beta Was this translation helpful? Give feedback.
Answered by
sanjaybip
Jul 31, 2022
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Deleted the above directory and started again. It worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sanjaybip
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Deleted the above directory and started again. It worked.