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

Error when using -d option #769

Closed
wirednkod opened this issue Mar 3, 2023 · 0 comments · Fixed by #770
Closed

Error when using -d option #769

wirednkod opened this issue Mar 3, 2023 · 0 comments · Fixed by #770
Assignees
Labels
bug Something isn't working

Comments

@wirednkod
Copy link
Contributor

When -d option is used with CLI the following error occurs:

 Error:  	 Error: Cannot find module './firstnet/polkadot-local-plain.json'
Require stack:
- /snapshot/javascript/packages/orchestrator/dist/orchestrator.js
- /snapshot/javascript/packages/orchestrator/dist/index.js
- /snapshot/javascript/packages/cli/dist/cli.js
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.

The toml file that used is of a simple network:

[settings]
provider = "native"
timeout = 1000

[relaychain]
chain = "polkadot-local"

  [[relaychain.nodes]]
  name = "alice"

  [[relaychain.nodes]]
  name = "bob"

image

@wirednkod wirednkod added the bug Something isn't working label Mar 3, 2023
@wirednkod wirednkod self-assigned this Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant