profile
viewpoint

Ask questions./scripts/init_submodules.sh: not found

Window 10: Try to follow this and failed on last step. $ git clone https://github.com/grpc/grpc-web $ cd grpc-web $ docker-compose pull $ docker-compose up -d node-server envoy commonjs-client

Here is the console output: PS C:\github> git clone https://github.com/grpc/grpc-web Cloning into 'grpc-web'... remote: Enumerating objects: 95, done. remote: Counting objects: 100% (95/95), done. remote: Compressing objects: 100% (59/59), done. remote: Total 4706 (delta 19), reused 58 (delta 14), pack-reused 4611 Receiving objects: 100% (4706/4706), 911.77 KiB | 5.21 MiB/s, done. Resolving deltas: 100% (2337/2337), done. PS C:\github> cd grpc-web PS C:\github\grpc-web> docker-compose pull Pulling common ... done Pulling prereqs ... done Pulling grpc-base ... done Pulling echo-server ... done Pulling node-server ... done Pulling node-interop-server ... done Pulling envoy ... done Pulling nginx ... done Pulling grpcwebproxy ... done Pulling commonjs-client ... done Pulling closure-client ... done Pulling ts-client ... done Pulling binary-client ... done Pulling interop-client ... done WARNING: Some service image(s) must be built from source by running: docker-compose build interop-client closure-client node-interop-server prereqs grpcwebproxy grpc-base binary-client echo-server nginx ts-client PS C:\github\grpc-web> docker-compose up -d node-server envoy commonjs-client Building prereqs Step 1/18 : FROM grpcweb/common ---> c8ec1e686813 Step 2/18 : ARG MAKEFLAGS=-j8 ---> Using cache ---> 5193700fd512 Step 3/18 : ARG BUILDIFIER_VERSION=1.0.0 ---> Using cache ---> 805a4392af84 Step 4/18 : ARG BAZEL_VERSION=2.2.0 ---> Using cache ---> 60213041609a Step 5/18 : RUN echo "\nloglevel=error\n" >> $HOME/.npmrc ---> Using cache ---> 24ce4ae224ec Step 6/18 : WORKDIR /github/grpc-web ---> Using cache ---> 824b0de4e01e Step 7/18 : COPY ./Makefile ./Makefile ---> Using cache ---> f876f09b9683 Step 8/18 : COPY ./bazel ./bazel ---> Using cache ---> da18e70f7fe7 Step 9/18 : COPY ./javascript ./javascript ---> Using cache ---> 495bcd2cac24 Step 10/18 : COPY ./net ./net ---> Using cache ---> 439bc1048909 Step 11/18 : COPY ./packages ./packages ---> Using cache ---> 46ddafa3bf85 Step 12/18 : COPY ./scripts ./scripts ---> Using cache ---> 7e0e1cdfdeb5 Step 13/18 : COPY ./test ./test ---> Using cache ---> 1116ae0a37c5 Step 14/18 : RUN ./scripts/init_submodules.sh ---> Running in c6bc4a894ead /bin/sh: 1: ./scripts/init_submodules.sh: not found ERROR: Service 'prereqs' failed to build: The command '/bin/sh -c ./scripts/init_submodules.sh' returned a non-zero code: 127 PS C:\github\grpc-web> ls -l ./scripts/init_submodules.sh

Directory: C:\github\grpc-web\scripts

Mode LastWriteTime Length Name


-a---- 2020-05-23 11:25 PM 936 init_submodules.sh

grpc/grpc-web

Answer questions daserge

The buildifier error could be caused by this change. You can work around it via commenting out the corresponding RUN section in the net\grpc\gateway\docker\prereqs\Dockerfile

useful!

Related questions

Failed to compile. 'proto' is not defined (also 'COMPILED') hot 2
mac os 10.15 notarized notification hot 1
Failed to compile. 'proto' is not defined (also 'COMPILED') hot 1
Decoding grpc-status-details-bin ? hot 1
ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) on idle stream hot 1
e.serializeBinary is not a function hot 1
upstream connect error or disconnect/reset before headers. reset reason: connection termination hot 1
source:https://uonfu.com/
Github User Rank List