lzybkr / TabExpansionPlusPlus

A V3 PowerShell module to improve tab expansion and Intellisense
BSD 2-Clause "Simplified" License
196 stars 33 forks source link

Error installing using install script #63

Closed czhang03 closed 8 years ago

czhang03 commented 8 years ago

After installing using install.ps1, powershell gives me the following error:

Import-Module : The module to process 'TabExpansionPlusPlus.psm1', listed in field 'ModuleToProcess/RootModule' of module manifest
'C:\Users\zcsxo\OneDrive\surface-Document\WindowsPowerShell\Modules\TabExpansionPlusPlus\TabExpansionPlusPlus.psd1' was not processed because no
valid module was found in any module directory.
At C:\Users\zcsxo\OneDrive\surface-Document\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:5 char:1
+ Import-Module TabExpansionPlusPlus
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (TabExpansionPlusPlus:String) [Import-Module], PSInvalidOperationException
    + FullyQualifiedErrorId : Modules_ModuleFileNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
czhang03 commented 8 years ago

I just find out that using the install script, the file TabExpansionPlusPlus.psm1 is not there.

I did a git clone, then everything works fine.

czhang03 commented 8 years ago

https://github.com/lzybkr/TabExpansionPlusPlus/blob/master/Install.ps1#L6 This is the bug

it should be TabExpansionPlusPlus.psm1