graphprotocol / graph-tooling

Monorepo for various tools used by subgraph developers.
https://thegraph.com/docs
Apache License 2.0
386 stars 208 forks source link

install error ,npm or yarn connot #963

Open Div-Denis opened 2 years ago

Div-Denis commented 2 years ago

PS D:\learnweb3\graph> yarn global add @graphprotocol/graph-cli yarn global v1.22.19 [1/4] Resolving packages... 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 > 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 > request > har-validator@5.1.5: this library is no longer supported
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-pb@0.17.4: This module has been superseded by @ipld/dag-pb and multiformats 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 > multibase@0.6.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 > multicodec@0.5.7: 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-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 > multihashes > multibase@0.7.0: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > promisify-es6@1.0.3: Unmaintained 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 > 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 > cids@0.8.3: This module has been superseded by the multiformats module 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 > is-ipfs > cids@0.7.5: 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 > multiaddr > cids@0.8.3: 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 > cids > multicodec@1.0.4: 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 > 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-cbor > cids > multihashes > multibase@1.0.1: This module has been superseded by the multiformats module 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 > 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 > ipld-dag-pb > protons@1.2.1: This module is no longer maintained warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > protons@1.2.1: This module is no longer maintained 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 error An unexpected error occurred: "https://raw.githubusercontent.com/hugomrdias/concat-stream/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034/package.json: getaddrinfo ENOENT raw.githubusercontent.com". info If you think this is a bug, please open a bug report with the information provided in "C:\Users\Div\AppData\Local\Yarn\Data\global\yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command. Error: getaddrinfo ENOENT raw.githubusercontent.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26)

this is npm npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/edgeandnode/gluegun.git npm ERR! git@github.com: Permission denied (publickey). npm ERR! fatal: Could not read from remote repository. npm ERR! npm ERR! Please make sure you have the correct access rights npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: npm ERR! D:\nodejs\node_cache_logs\2022-09-18T11_48_47_162Z-debug-0.log

salaimuniselvam-s commented 2 years ago

Facing Same Issue.. +1

MyNameIsTakenOMG commented 1 year ago

Same here when I used the yarn command to install the package. But after I used npm to install the package, all of sudden, things just worked out. So for anyone who run into this issue later, just try using npm command, things may work out for you.

FrankYChills commented 1 year ago

Hey @Div-Denis .I am having the exact same issue .I am tired of debugging this issue for so many hours.Were you able to solve this issue?Any suggestion would be really helpful to me 😊

Amit0617 commented 1 year ago

Currently ipfs-http-client is deprecated but it still depends upon it.

kevincompton commented 5 months ago

Same issue here I can't install directly because it's a part of a much larger package on a linked repo. Has anyone made a fix for this yet? For me the missing dependency concat-stream is giving me a 404 with yarn because some dude named @hugomrdias deleted it for some reason.