graph-tooling icon indicating copy to clipboard operation
graph-tooling copied to clipboard

install error ,npm or yarn connot

Open Div-Denis opened this issue 2 years ago • 5 comments

PS D:\learnweb3\graph> yarn global add @graphprotocol/graph-cli yarn global v1.22.19 [1/4] Resolving packages... warning @graphprotocol/graph-cli > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning @graphprotocol/graph-cli > request > [email protected]: 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 > [email protected]: this library is no longer supported
warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by @ipld/dag-cbor and multiformats warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by @ipld/dag-pb and multiformats warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > multiaddr > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > multihashes > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: Unmaintained warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: No longer supported for js-libp2p0.28.0 or later warning @graphprotocol/graph-cli > ipfs-http-client > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipfs-block > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > is-ipfs > multiaddr > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > cids > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > cids > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > cids > multihashes > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-cbor > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-raw > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: 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 > [email protected]: This module has been superseded by the multiformats module warning @graphprotocol/graph-cli > ipfs-http-client > ipld-dag-pb > [email protected]: This module is no longer maintained warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > [email protected]: This module is no longer maintained warning @graphprotocol/graph-cli > ipfs-http-client > peer-id > libp2p-crypto > [email protected]: 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 > [email protected]: 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://[email protected]/edgeandnode/gluegun.git npm ERR! [email protected]: 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

Div-Denis avatar Sep 18 '22 12:09 Div-Denis

Facing Same Issue.. +1

salaimuniselvam-s avatar Sep 25 '22 02:09 salaimuniselvam-s

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.

MyNameIsTakenOMG avatar Oct 25 '22 17:10 MyNameIsTakenOMG

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 😊

FrankYChills avatar Dec 01 '22 02:12 FrankYChills

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

Amit0617 avatar Jun 20 '23 13:06 Amit0617

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.

kevincompton avatar Apr 27 '24 21:04 kevincompton