You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the local (docker) stack up and running on Apple Silicon Macbook Pro (arm64), by following the instructions in the current README.md. However the core resource won't build successfully and does not start. The build fails while parsing some JSON:
Error: ServiceAccountError - SerdeJson: EOF while parsing a value at line 1 column 0
Caused by:
EOF while parsing a value at line 1 column 0
Server exited with exit code 0
Here's the full steps I do for replicating the error:
git clone https://github.com/GaloyMoney/lana-bank
cd lana-bank
make dev-up
When I check Tilt, the core resource has errors and is not started/running:
Running cmd: cd .. && make setup-db run-server
cd lana/app && cargo sqlx migrate run
error: the `--database-url` option or the `DATABASE_URL` environment variable must be provided
make[1]: *** [setup-db] Error 1
[readiness probe: failure] Get "[http://localhost:5253/graphql":](http://localhost:5253/graphql%22:) dial tcp [::1]:5253: connect: connection refused
I added the missing DATABASE_URL environment variable to dev/Tiltfile:
ok actually starting from a fresh new install, getting the same error
Running cmd: cd .. && make setup-db run-server
make[1]: Entering directory '/Users/n/Code/lana-bank'
cd lana/app && cargo sqlx migrate run
cargo run --bin lana-cli --features sim-time -- --config ./bats/lana-sim-time.yml | tee .e2e-logs
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
Running `target/debug/lana-cli --config ./bats/lana-sim-time.yml`
Error: ServiceAccountError - SerdeJson: EOF while parsing a value at line 1 column 0
Caused by:
EOF while parsing a value at line 1 column 0
make[1]: Leaving directory '/Users/n/Code/lana-bank'
Server exited with exit code 0
we'll document how to create it, currently there is a dependency with bigquery for the data pipelines but I think it should be an optional dependency at this point and shouldn't require an API key
I'm trying to get the local (docker) stack up and running on Apple Silicon Macbook Pro (arm64), by following the instructions in the current README.md. However the
core
resource won't build successfully and does not start. The build fails while parsing some JSON:Here's the full steps I do for replicating the error:
git clone https://github.com/GaloyMoney/lana-bank cd lana-bank make dev-up
When I check Tilt, the
core
resource has errors and is not started/running:I added the missing DATABASE_URL environment variable to
dev/Tiltfile
:serve_env_core = { "PG_CON": "postgres://user:password@localhost:5433/pg", + "DATABASE_URL": "postgres://user:password@localhost:5433/pg", "OTEL_EXPORTER_OTLP_ENDPOINT": "http://localhost:4317", }
Now, sqlx mirgrations run successful, but I end up with cargo build errors:
The text was updated successfully, but these errors were encountered: