bun install
bun run build:devThe application will fail with compilation issue related to ajv
Start a kafka container:
docker run -d \
--name kafka-kraft \
-p 9092:9092 \
-e KAFKA_CFG_PROCESS_ROLES=broker,controller \
-e KAFKA_CFG_NODE_ID=1 \
-e KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=1@localhost:9093 \
-e KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093 \
-e KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092 \
-e KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER \
-e ALLOW_PLAINTEXT_LISTENER=yes \
bitnami/kafka:latestSetup a topic for kafka
docker exec -it kafka-kraft bash
kafka-topics.sh \
--bootstrap-server localhost:9092 \
--create \
--topic test-topic \
--partitions 1 \
--replication-factor 1Now remove eslint
bun remove eslint typescript-eslint- delete node_modules manually
bun installbun run build:dev
The application will start without any issues