Error installing using install script
czhang03 opened this issue · comments
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
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.
https://github.com/lzybkr/TabExpansionPlusPlus/blob/master/Install.ps1#L6
This is the bug
it should be TabExpansionPlusPlus.psm1