Cannot deploy a nextjs project with pnpm package.
I am trying to deploy a Next.js project, but I keep receiving this message: "Cannot install with 'frozen-lockfile' because pnpm-lock.yaml is absent."
The problem is that, based on my project structure, the pnpm-lock.yaml file is indeed there (I have provided a screenshot as proof). I am using Next.js v15.0.
While searching for solutions, I found that I can bypass this issue by adding the following line in the ENV configuration:
NIXPACKS_INSTALL_CMD=pnpm install --no-frozen-lockfile.
However, after doing this, I am unable to access my page through the domain. After some investigation, I discovered that in the Traefik file system, there is no record of my domain in the acme.json file—only .yml files in the dynamic folder.
The problem is that, based on my project structure, the pnpm-lock.yaml file is indeed there (I have provided a screenshot as proof). I am using Next.js v15.0.
While searching for solutions, I found that I can bypass this issue by adding the following line in the ENV configuration:
NIXPACKS_INSTALL_CMD=pnpm install --no-frozen-lockfile.
However, after doing this, I am unable to access my page through the domain. After some investigation, I discovered that in the Traefik file system, there is no record of my domain in the acme.json file—only .yml files in the dynamic folder.

