Skip to content
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

Find-Module: Can't find module providers (Mac OS X) #1994

Closed
juneb opened this issue Aug 21, 2016 · 2 comments
Closed

Find-Module: Can't find module providers (Mac OS X) #1994

juneb opened this issue Aug 21, 2016 · 2 comments
Labels
Area-PackageManagement specific to PackageManagement module (aka OneGet)

Comments

@juneb
Copy link
Contributor

juneb commented Aug 21, 2016

This might be a user error. I'm new to Mac world. Apologies in advance if I've missed a step.

Mac OS X 10.11.6 (15G31) El Capitan
PSVersion: 6.0.0-alpha
PSEdition: Core
PowerShellGet 1.0.0.1
PackageManagement 1.0.0.1

PS /Users/juneb> (find-module).count                                                                                    
PackageManagement\Find-Package : Unable to find module providers (PowerShellGet).
At /usr/local/microsoft/powershell/6.0.0-alpha.9/Modules/PowerShellGet/PSModule.psm1:1294 char:3
+         PackageManagement\Find-Package @PSBoundParameters | Microsoft ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Excepti 
   on
    + FullyQualifiedErrorId : UnknownProviders,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

0

Steps to reproduce

Find-Module

Expected behavior

Return PSRepositoryItemInfo

Actual behavior

Unable to find module providers (PowerShellGet).

Environment data

> $PSVersionTable
Name                           Value                                                                                   
----                           -----                                                                                   
PSVersion                      6.0.0-alpha                                                                             
PSEdition                      Core                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
BuildVersion                   3.0.0.0                                                                                 
GitCommitId                    v6.0.0-alpha.9                                                                          
CLRVersion                                                                                                             
WSManStackVersion              3.0                                                                                     
PSRemotingProtocolVersion      2.3                                                                                     
SerializationVersion           1.1.0.1                                                                                 
@jasontayler
Copy link

you need to install .net core
Follow https://www.microsoft.com/net/core#macos

PS /Users/j> (find-module).count
943

@HemantMahawar
Copy link
Contributor

This issue was moved to PowerShell/PowerShellGet#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-PackageManagement specific to PackageManagement module (aka OneGet)
Projects
None yet
Development

No branches or pull requests

4 participants