VSTest does not run tests in X64 when specified in Platform. cannot find module azure-storage error in custom API #39 - Github Content Discovery initiative April 13 update: Related questions using a Review our technical responses for the 2023 Developer Survey, Issues with PowerShell Repositories on Azure DevOps Agents, Get-PSRepository, powershell warning: "Unable to find module repositories" while trying to install Docker in WindowsServer2016, Can not install module Power BI in powershell, Cannot find an overload for "SoftwareIdentity", PowerShell Package Management - Repository vs Provider vs Source, Unable to find repository on Update-Module, Update-Module not finding PSGallery repo in script as a scheduled task, Powershell install - No match was found for the specified search criteria and module name, Corrupt PackageManager? [duplicate], Use an aar library cause missing dependencies using api in Gradle 4.x, Security risks of using eval() to execute user input in JavaScript. Jun 16 2020 Powershell install - No match was found for the specified search criteria and module name, Corrupt PackageManager? module WARNING: Unable to find module repositories. I have the same problem, please could you share with me the solution. Asking for help, clarification, or responding to other answers. As I mentioned before, I did have set my proxy using NetSH WinHTTP Set Proxy proxy-server="my.proxy.server". In VSTest.ps1 when Invoke-VsTest is called, the variable $platform is not even passed to the cmdlet. Setting TLS1.2 connection resolved the problem for me. You would indeed need to run. Effect of a "bad grade" in grad school applications. Thanks! Not the answer you're looking for? I was on a server. How can I control PNP and NPN transistors together from one pin? Since then the unit tests are no longer discovered. You are correct it was a TLS issue in the end. So does anybody know why it's not working. Replace value with the name of its respective column, Sort NSArray of custom objects based on sorting of another NSArray of strings. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Added it to $profile and works like a charm! Retrieve the LoaderExceptions property for more information. "Error: Cannot find module 'azure-storage'" message and Install-Module AzureADPreview works, so obviously a proxy issue all along. Thanks for contributing an answer to Stack Overflow! LI.WebServer.UnitTest.dll is built for Framework 4.6.2 and Platform X64. -----------------------------------------------------------------------------------------------------------. Your email address will not be published. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Instead of Get-Module -list, it should have been Find-Module PowerShellGet | Install-module Fix Unable to find module repositories. The had exactly the same problem on windows 10. I am behind a corp proxy. Attached is the associated detailed log from vstest. There are different discussion online about similar issues that don't provide any meaningful solution to this problem.
Hilton Aruba Tower Ocean View, Articles W