Skip to content
New issue

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

[Bug] Init script can't generate network #39

Closed
alexfertel opened this issue Feb 13, 2024 · 0 comments
Closed

[Bug] Init script can't generate network #39

alexfertel opened this issue Feb 13, 2024 · 0 comments

Comments

@alexfertel
Copy link

alexfertel commented Feb 13, 2024

Problem

After a fresh clone, running ./test-node.bash --init crashes. You can see the entire output here.

At some point it gets to this part, where it crashes:

yarn run v1.22.19
$ ts-node ./scripts/genNetwork.ts
Error: No such container: nitro_sequencer_1
Error: No such container: nitro-sequencer-1
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.6.4)
    at Logger.makeError (/workspace/node_modules/@ethersproject/logger/src.ts/index.ts:261:28)
    at Logger.throwError (/workspace/node_modules/@ethersproject/logger/src.ts/index.ts:273:20)
    at JsonRpcProvider.<anonymous> (/workspace/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:431:23)
    at step (/workspace/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
    at Object.throw (/workspace/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
    at rejected (/workspace/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}
Done in 4.62s.
[+] Creating 3/0
 ✔ Container nitro-testnode-geth-1       Created                                                                                                                                                                                                                                                               
 ✔ Container nitro-testnode-redis-1      Running                                                                                                                                                                                                                                                               
 ✔ Container nitro-testnode-sequencer-1  Running                                                                                                                                                                                                                                                               
[+] Running 1/1
 ✔ Container nitro-testnode-geth-1  Started                                                                                                                                                                                                                                                                    
cat: localNetwork.json: No such file or directory

Environment

OS:                  MacOS Sonoma 14.1.1 (23B81)
Docker version:      Desktop 4.27.1 (136059)
Ferret-san pushed a commit to celestiaorg/nitro-testnode that referenced this issue Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants