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

Can't run local examples #34

Open
osintalex opened this issue Jul 13, 2024 · 1 comment
Open

Can't run local examples #34

osintalex opened this issue Jul 13, 2024 · 1 comment

Comments

@osintalex
Copy link

I'm probably missing something quite obvious but getting errors on a fresh checkout after running what the README.md says for a local example.

Error:

❯ npx ts-node main.ts
webpack:///./data/bloom.ts:70
}
^
jg [Error]: Bad Request
    at webpack:///./client/api.ts:89:11
    at Generator.next (<anonymous>)
    at E (webpack:///./data/bloom.ts:70:1)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 400,
  path: 'http://localhost:8008/setup',
  body: 'Can not decode body',
  msg: 'Bad Request'
}

Server logs:

Using 4 threads
Listening on 8008
kv_pairs: []
kv_pairs: []

Wonder if I missed a stage initializing key pairs somehow?

These are commands I ran:

cd lib/server
cargo run --release
cd examples/node-local
nvm use --lts
npm i
npx ts-node main.ts
@jayavanth
Copy link

use the tag 0.1.9

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