You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the repository to PSCloudFlare to be consistent with Module name casing.
This tripped me on *nix (where folders are case sensitive), when I did a git clone and used Import-Module:
PS > git clone https://github.com/zloeber/PSCloudflare
PS >Import-Module ./PSCloudflare
Import-module : The specified module './PSCloudflare' was not loaded because no valid module file was found in any module directory.
At line:1 char:7+$pwd; Import-module"./PSCloudflare"+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (./PSCloudflare:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
PS >Import-Module ./PSCloudflare/PSCloudFlare.psm1
# Okay
If the repository was consistent with the module's name casing, it would be:
PS > git clone https://github.com/zloeber/PSCloudFlare
PS >Import-Module ./PSCloudFlare
# Good
It's not a big deal, but hopefully people dont run into the same issues.
The text was updated successfully, but these errors were encountered:
Rename the repository to PSCloudFlare to be consistent with Module name casing.
This tripped me on *nix (where folders are case sensitive), when I did a
git clone
and usedImport-Module
:If the repository was consistent with the module's name casing, it would be:
It's not a big deal, but hopefully people dont run into the same issues.
The text was updated successfully, but these errors were encountered: