gateway
gateway copied to clipboard
Gateway - Error: "bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)"
Describe the bug
Environment
- Docker on macOS M2 Pro
- Gateway v2.4.0 (Local Build)
Bug
When running the Gateway Docker container after successful build, it continuously shows the warning message: bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) and exits with code 0.
Steps to reproduce
1-
docker build \
--build-arg BRANCH=$(git rev-parse --abbrev-ref HEAD) \
--build-arg COMMIT=$(git rev-parse HEAD) \
--build-arg BUILD_DATE=$(date -u +"%Y-%m-%d") \
-t hummingbot/gateway:development -f Dockerfile .
2-
docker run --name gateway \
-p 15888:15888 \
-v "$(pwd)/conf:/home/gateway/conf" \
-v "$(pwd)/logs:/home/gateway/logs" \
-v "$(pwd)/db:/home/gateway/db" \
-v "$(pwd)/certs:/home/gateway/certs" \
-e DEV=true \
hummingbot/gateway:development
Release version
2.4.0
Type of installation
Source
Attach required files
This doesn't impact usage, but if you want to get rid of it, I added a comment in README to show how: https://github.com/hummingbot/gateway?tab=readme-ov-file#fixing-bigint-buffer-warnings