Chen
Explore posts from serversHow does it work under the hood when I deploy a NextJS app with serverless functions?
side question, but how does "projects" in the dashboard vs each block in each project differ?
is it mostly just for organization?
or do my 2 blocks in the project share a computer?
14 replies
how do i update pnpm in nixpack before installing?
[stage-0 6/10] RUN --mount=type=cache,id=s/ce8b2188-8081-4b6f-a77e-eebbf311358f-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i --frozen-lockfile:#10 5.581 Your pnpm version is incompatible with "/app". #10 5.581 #10 5.581 Expected version: >=8.6.3 #10 5.581 Got: 7.33.3 #10 5.581 #10 5.581 This is happening because the package's manifest has an engines.pnpm field specified. #10 5.581 To fix this issue, install the required pnpm version globally. #10 5.581 #10 5.581 To install the latest version of pnpm, run "pnpm i -g pnpm". #10 5.581 To check your pnpm version, run "pnpm -v". ----- Dockerfile:20 ------------------- 18 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH 19 | COPY . /app/. 20 | >>> RUN --mount=type=cache,id=s/ce8b2188-8081-4b6f-a77e-eebbf311358f-/root/local/share/pnpm/store/v3,target=/root/.local/share/pnpm/store/v3 pnpm i --frozen-lockfile 21 | 22 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c pnpm i --frozen-lockfile" did not complete successfully: exit code: 1 Error: Docker build failed
19 replies