devcontainers / features

A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own
https://containers.dev/features
MIT License
890 stars 359 forks source link

powershell modules not being installed #934

Open robinmordasiewicz opened 6 months ago

robinmordasiewicz commented 6 months ago

The syntax for the pwsh Install-Module needs to be updated so that modules are installed. The new syntax should be: pwsh -Command "& {Install-Module -Name ${i} -AllowClobber -Force -Scope AllUsers}" || continue

samruddhikhandale commented 6 months ago

Hi 👋

Looks like you closed https://github.com/devcontainers/features/pull/935, does that mean that this issue no longer exists? Feel free to provide more information so that we can help investigate the issue, thanks!

robinmordasiewicz commented 6 months ago

I thought I had a simple fix, but I am discovering that its more complicated than I thought. It works fine on linux/amd64 but when I create a devcontainer for linux/arm64 it is not working. I am still trying to troubleshoot and understand the problem, but when I understand better I will submit more info to the issue and contribute a PR

On Apr 4, 2024, at 6:56 PM, Samruddhi Khandale @.***> wrote:

Hi 👋

Looks like you closed #935 https://github.com/devcontainers/features/pull/935, does that mean that this issue no longer exists? Feel free to provide more information so that we can help investigate the issue, thanks!

— Reply to this email directly, view it on GitHub https://github.com/devcontainers/features/issues/934#issuecomment-2038408236, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2O2OA57VBY6KXKVPQJLU3Y3XLABAVCNFSM6AAAAABFX2DD72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGQYDQMRTGY. You are receiving this because you authored the thread.