Skip to content

alpine-node won't preinstall pnpm despite pnpmVersion specified #61

@lolmaus

Description

@lolmaus

Hi! Thank you for the devcontainer features!

Here's my devcontainer.json: https://github.com/lolmaus/slice-and-dice/blob/3d8276309c45dd0ce57631b3ed001096685cae5e/.devcontainer/devcontainer.json

I update the pnpmVersion property from 9.2.0 to 9.4.0 like this:

image

I save the file and issue the Dev Containers: Rebuild Container Without Cache palette command. It rebuilds.

But when I pop the terminal and do pnpm -v, it replies with Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.2.0.tgz. So pnpm is not preinstalled and the wrong version is offered to be installed:

image

Here are the logs: https://gist.github.com/lolmaus/4c68bd3bca399ee8e991f93b25eb7214

The prharse Preparing pnpm@9.4.0 for immediate activation... is repeated 34 times! Yet, pnpm is not preinstalled.

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions