Hi,
I am getting “grpc require http/2” error in Chrome when browsing: localhost:8080. No clue why this is happening and what does it mean. My browser for sure supports http2.
Here is the launch log for my kitty-items when running locally through command "npm run start:dev
":
Davids-MBP:kitty-items david$ npm run start:dev
> kitty-items@1.0.0 start:dev /Volumes/work/Project/kitty-items
> docker-compose --env-file .env.dev --profile dev up -d --build
WARN[0000] The FUSD_ADDRESS variable is not set. Defaulting to a blank string.
WARN[0000] The FUSD_ADDRESS variable is not set. Defaulting to a blank string.
[+] Building 40.8s (16/16) FINISHED
=> [kitty-items_web internal] load build definition from Dockerfile.dev 0.0s
=> => transferring dockerfile: 35B 0.0s
=> [kitty-items_api internal] load build definition from Dockerfile.dev 0.0s
=> => transferring dockerfile: 35B 0.0s
=> [kitty-items_web internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [kitty-items_api internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [kitty-items_web internal] load metadata for docker.io/library/node:14-alpine 1.6s
=> [kitty-items_web 1/5] FROM docker.io/library/node:14-alpine@sha256:0c80f9449d2690eef49aad35eeb42ed9f9bbe2742cd4e9766a7be3a1aae2a310 0.0s
=> [kitty-items_api internal] load build context 32.2s
=> => transferring context: 188.04MB 31.6s
=> [kitty-items_web internal] load build context 38.6s
=> => transferring context: 213.99MB 38.3s
=> CACHED [kitty-items_api 2/5] WORKDIR /api 0.0s
=> CACHED [kitty-items_api 3/5] RUN npm install typescript 0.0s
=> CACHED [kitty-items_api 4/5] COPY ./api . 0.0s
=> CACHED [kitty-items_api 5/5] COPY ./cadence /cadence 0.0s
=> [kitty-items_web] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:4b1d7911dc5fa412a0163cfc3a27a7a0abe9e3c4df7042595451188c24f78faa 0.1s
=> => naming to docker.io/library/kitty-items_api 0.0s
=> => writing image sha256:ddc761bea40b572df2b45f0b8f8ffe7c8eee976daa6c84e203fba58168762919 0.0s
=> => naming to docker.io/library/kitty-items_web 0.0s
=> CACHED [kitty-items_web 2/4] WORKDIR /web 0.0s
=> CACHED [kitty-items_web 3/4] COPY ./web . 0.0s
=> CACHED [kitty-items_web 4/4] RUN npm i 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 5/5
⠿ Container kitty-items_db_1 Running 0.0s
⠿ Container kitty-items_emulator_1 Running 0.0s
⠿ Container kitty-items_api_1 Running 0.0s
⠿ Container kitty-items_dev-wallet_1 Running 0.0s
⠿ Container kitty-items_web_1 Running 0.0s
Davids-MBP:kitty-items david$ flow project deploy --network emulator
Deploying 5 contracts for accounts: emulator-account
FUSD -> 0xf8d6e0586b0a20c7 (49291957f8cc7e8a02f3a63b109638d06495faa9eb103b8ea585fd3ceefaf613)
Kibble -> 0xf8d6e0586b0a20c7 (5f2ec38a1527d8b897c353116d2490b6123c7c9f84ee6c42849b61ed06ab954a)
NonFungibleToken -> 0xf8d6e0586b0a20c7 (5ca00db19cf540d1ba5ea41ce8317d1824cb4837d586baf4c6c58d98ac0bcc48)
KittyItems -> 0xf8d6e0586b0a20c7 (abfb0dc64dc553c0a1a1558d9c801e3d09454d5f30bd7e151b97926a0df40853)
NFTStorefront -> 0xf8d6e0586b0a20c7 (395f51dde419abb86d49fd84a201e56bb7cc3dda552f07f8ee5e1fa73580f2db)
✨ All contracts deployed successfully
Davids-MBP:kitty-items david$