-
Notifications
You must be signed in to change notification settings - Fork 22
install.ps1 issues #1
Comments
even when i try to load the module manualy with PS> load-module gmail.psm1 it doesnt work. I get this error: Unable to find type [PSCredential]: make sure that the assembly containing this
Import-Module : The specified module '.\Gmail.ps.psm1' was not loaded because n
|
What version of PowerShell are you using? Try to fetch the v2-compat branch and install from it. I changed that RootModule key in the manifest, seems it's new for v3 |
I will try this when ever I have some free time. Thank you for your fast response Charles On Wed, Dec 4, 2013 at 3:11 AM, Nikolay Blagoev notifications@github.comwrote:
|
When I try to install your module with the install.ps1 script i get this error.
C:\Users\Gamer\Documents\GitHub\Gmail.ps [master]> .\install.ps1
Import-Module : The 'C:\Users\Gamer\Documents\WindowsPowerShell\Modules\Gmail.p
s\Gmail.ps.psd1' module cannot be imported because its manifest contains one or
more members that are not valid. The valid manifest members are ('ModuleToProc
ess', 'NestedModules', 'GUID', 'Author', 'CompanyName', 'Copyright', 'ModuleVer
sion', 'Description', 'PowerShellVersion', 'PowerShellHostName', 'PowerShellHos
tVersion', 'CLRVersion', 'DotNetFrameworkVersion', 'ProcessorArchitecture', 'Re
quiredModules', 'TypesToProcess', 'FormatsToProcess', 'ScriptsToProcess', 'Priv
ateData', 'RequiredAssemblies', 'ModuleList', 'FileList', 'FunctionsToExport',
'VariablesToExport', 'AliasesToExport', 'CmdletsToExport'). Remove the members
that are not valid ('RootModule'), then try to import the module again.
At C:\Users\Gamer\Documents\GitHub\Gmail.ps\install.ps1:65 char:18
String) [Import-Module], InvalidOperationException
ll.Commands.ImportModuleCommand
Gmail.ps is installed and ready to use
Maybe i'm doing it wrong or missing some dependencies that are not mentioned. I haven't really looked into this issue since I currently don't have much powershell knowledge.
The text was updated successfully, but these errors were encountered: