Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Error to access /hugomrdias/concat-stream #64

Closed
starit opened this issue Sep 20, 2023 · 6 comments · May be fixed by #65
Closed

Error to access /hugomrdias/concat-stream #64

starit opened this issue Sep 20, 2023 · 6 comments · May be fixed by #65

Comments

@starit
Copy link

starit commented Sep 20, 2023

when I try to install the dependency it shows this error:

~/src/subgraph/uniswap/v4-subgraph (main ✔) ᐅ npm i
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/hugomrdias/concat-stream.git
npm ERR! ERROR: Repository not found.
@asimpk
Copy link

asimpk commented Sep 25, 2023

Hi @starit I fixed this issue by using version "@graphprotocol/graph-cli": "0.20.3", or "@graphprotocol/graph-cli": "~0.20.0",

@bertux
Copy link

bertux commented Sep 25, 2023

that's why I've submitted the PR #65
I've not seen that issue before creating #66 so please excuse me for the duplicate.

@samlaf
Copy link

samlaf commented Nov 10, 2023

Tried "@graphprotocol/graph-cli": "0.20.3", and

    "@graphprotocol/graph-cli": "^0.58.0",
    "@graphprotocol/graph-ts": "^0.31.0"

as suggested in the PR. None of those work. Getting

warning Error running install script for optional dependency: "/Users/samlaf/devel/ethereum/thegraph/graph-node-test/example-subgraph/node_modules/leveldown: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments: 
Directory: /Users/samlaf/devel/ethereum/thegraph/graph-node-test/example-subgraph/node_modules/leveldown
Output:
node:events:492
      throw er; // Unhandled 'error' event
      ^

Error: spawn node-gyp ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn node-gyp',
  path: 'node-gyp',
  spawnargs: [ 'rebuild' ]
success Saved lockfile.
✨  Done in 47.09s.

@abernatskiy
Copy link

Succeeded just now by fully updating all deps before installing:

rm yarn.lock
npx --yes npm-check-updates --upgrade
yarn install

Excerpt from the resulting package.json:

  "devDependencies": {
    "@graphprotocol/graph-cli": "^0.61.0",
    "@graphprotocol/graph-ts": "^0.31.0"
  },
  "dependencies": {
    "babel-polyfill": "^6.26.0",
    "babel-register": "^6.26.0",
    "truffle": "^5.11.5",
    "truffle-contract": "^4.0.5",
    "truffle-hdwallet-provider": "^1.0.4"
  }

@azf20
Copy link
Contributor

azf20 commented Nov 14, 2023

🙏 great, closing this issue

@bertux
Copy link

bertux commented Mar 11, 2024

🙏 great, closing this issue

@azf20 In which PR this issue is solved ? Can you include the link also ?
I've updated my PR #65 according to @abernatskiy result.

bertux added a commit to bertux/example-subgraph that referenced this issue Mar 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants