Gitpod - fix pnpm version error (#4120)

* use Gitpod's node-LTS base image

* update gitpod command waiting for port

* export variables for pnpm

* install pnpm using recommended method

* fix prebuild's shell problem

* fix Gitpod ports await command syntax
This commit is contained in:
Ofer Shaal 2022-08-02 12:09:16 -04:00 committed by GitHub
parent ba801b99e5
commit 7088e86c64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
.gitpod.Dockerfile vendored
View file

@ -1,7 +1,7 @@
FROM gitpod/workspace-node
# Install latest pnpm
RUN pnpm i -g pnpm
RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
# Install deno in gitpod
RUN curl -fsSL https://deno.land/x/install/install.sh | sh

View file

@ -15,7 +15,7 @@ else
fi
# Wait for VSCode to be ready (port 23000)
gp await-port 23000 > /dev/null 2>&1
gp ports await 23000 > /dev/null 2>&1
echo "Loading example project:" $EXAMPLE_PROJECT