features icon indicating copy to clipboard operation
features copied to clipboard

powershell modules not being installed

Open robinmordasiewicz opened this issue 10 months ago • 2 comments

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

robinmordasiewicz avatar Apr 04 '24 18:04 robinmordasiewicz

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!

samruddhikhandale avatar Apr 04 '24 22:04 samruddhikhandale

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.

robinmordasiewicz avatar Apr 04 '24 23:04 robinmordasiewicz