Closed johnson86tw closed 2 years ago
Run
cd docker docker build -t maci-node .
Error message:
[+] Building 599.8s (16/17) => [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 1.67kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ubuntu:20.04 4.6s => [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s => [ 1/13] FROM docker.io/library/ubuntu:20.04@sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be 12.9s => => resolve docker.io/library/ubuntu:20.04@sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be 0.0s => => sha256:669e010b58baf5beb2836b253c1fd5768333f0d1dbcb834f7c07a4dc93f474be 1.42kB / 1.42kB 0.0s => => sha256:7c9c7fed23def3653a0da5bc9ecb651efe155ebd5802c7ba5d585edaa6c89496 529B / 529B 0.0s => => sha256:54c9d81cbb440897908abdcaa98674db83444636c300170cfd211e40a66f704f 1.46kB / 1.46kB 0.0s => => sha256:08c01a0ec47e82ebe2bec112f373d160983a6d1e9e66627f66a3322bc403221b 28.56MB / 28.56MB 11.2s => => extracting sha256:08c01a0ec47e82ebe2bec112f373d160983a6d1e9e66627f66a3322bc403221b 1.4s => [ 2/13] RUN apt-get update && apt-get install -y curl wget git jq && apt-get install -y build-essential libgmp-dev 75.6s => [ 3/13] RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash 19.9s => [ 4/13] RUN . "/root/.nvm/nvm.sh" && nvm install 14.18.1 2.1s => [ 5/13] RUN . "/root/.nvm/nvm.sh" && nvm use v14.18.1 1.5s => [ 6/13] RUN . "/root/.nvm/nvm.sh" && nvm alias default v14.18.1 0.9s => [ 7/13] RUN . "/root/.nvm/nvm.sh" && nvm install-latest-npm 13.1s => [ 8/13] RUN echo "REPO_NAME='https://github.com/chaosma/maci.git'" > /etc/image-info && echo "BRANCH_NAME='cordservice' 0.3s => [ 9/13] RUN cd ~ && git clone https://github.com/iden3/rapidsnark.git && cd rapidsnark && git checkout 1c1372 169.6s => [10/13] RUN cd ~ && git clone https://github.com/chaosma/maci.git && cd maci && git checkout cordservice & 66.8s => [11/13] RUN cd ~/maci && npm run bootstrap 211.7s => ERROR [12/13] RUN cd ~/maci && npm run build 20.6s ------ > [12/13] RUN cd ~/maci && npm run build: #16 2.202 #16 2.202 > maci@1.0.4 build #16 2.202 > lerna run build #16 2.202 #16 2.956 lerna notice cli v4.0.0 #16 3.003 lerna info Executing command in 7 packages: "npm run build" #16 20.51 lerna ERR! npm run build exited 2 in 'maci-crypto' #16 20.51 lerna ERR! npm run build stdout: #16 20.52 #16 20.52 > maci-crypto@1.0.4 build #16 20.52 > tsc #16 20.52 #16 20.52 ts/AccQueue.ts(163,24): error TS2345: Argument of type 'BigInt' is not assignable to parameter of type 'string | number | bigint | boolean'. #16 20.52 lerna ERR! npm run build exited 2 in 'maci-crypto' ------ executor failed running [/bin/sh -c cd ~/maci && npm run build]: exit code: 2
Hi @chnejohnson can i do it ?
@gayatrisingh31 Cool, sure. I have trouble with this.
Fixed. 6bbd311cca032076d5043c77529de67c8b2a9d6c
Run
Error message: