-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when i run localDevEnv.ps1 #61
Comments
Could you try to run: Import-Module Microsoft.PowerShell.Archive on your machine? Thanks |
In the end, there is something wrong with the machine - or some module installed, which prevents Expand-Archive to run. |
I get no error when i run the Import-Module Microsoft.PowerShell.Archive command. |
I encountered the same error when running localDevEnv.ps1
When I run Import-Module Microsoft.PowerShell.Archive I get the following error
I have 7zip installed |
@BW-PA thanks for the explanation - will investigate that. |
Same here, works in Powershell but not in the terminal section of VS Code. |
That seems to be a local problem - a restart of the host will probably solve this. |
Thanks for the quick reply. I´ve already restarted the machine several times, also reinstalled docker. When the error occurs docker wouldn´t start and need to uninstall it again every time it fails to create the container. I believe "driver "windowsfilter" failed to remove root |
After reading this thread https://github.com/microsoft/navcontainerhelper/issues/2086 I could finally create it by turning off Windows Defender antivirus... At last..., I should have read the thread and try it sooner. |
On the original error (@ingebruvik, @BW-PA and @gunnargestsson) in this issue, v1.2 of AL-Go will spawn a new PowerShell window elevated when trying to run from VS Code - instead of using the VS Code runner. on @BusinessCentralGeek - the localDevEnv now includes a text: NOTE: You need to have Docker installed, configured and be able to create Business Central containers for this to work. and I am also working on supporting ACIs (Azure Container Instances) and Azure VMs for people having problems running docker on their machine. Unfortunately, we are seeing an increasingly number of problems with defender and Windows 10 (even some Windows 11). |
'Collect changes from freddydk/*@main'
I get the error below when i run the localDevEnv.ps1 step
I tried to run the Import-Module Microsoft.PowerShell.Archive but that did noe help me.,
Any ideas about what is causing my problem?
Downloading BcContainerHelper latest version
Using Expand-Archive
Expand-7zipArchive : The 'Expand-Archive' command was found in the module 'Microsoft.PowerShell.Archive', but the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Archive'.
At C:\Users\bruviki\AppData\Local\Temp\tmp30E3.tmp.ps1:253 char:9
The text was updated successfully, but these errors were encountered: