Next.js Discord

Discord Forum

build next from src using the devcontainer

Unanswered
Crissal Thrasher posted this in #help-forum
Open in Discord
Crissal ThrasherOP
Is it something I'm doing horribly wrong (I've not had issues with other devcontainers) or is the .devcontainer in the nextjs github src just broken?

I'm getting a multitude of errors such as the wrong version of node (fixed by changing the version arg in the devcontainer.json) but then I end up with the wrong version of pnpm. Surely these things should be correct in the devcontainer (isn't that the whole point).

Even if I fix those I'm still not able to follow what should be really simple - pnpm build should just work if the devcontainer was setup correctly.

If it's no longer in use then it really ought to be pulled from the github src - alternatively if the Vercel team would accept a PR to fix it I might have a go.

I've tried both the canary branch and also a recent release tag (13.2.0)

0 Replies