"PoshBot.GChat.Backend.psm1" missing from Module
Closed this issue · 6 comments
"PoshBot.GChat.Backend.psm1" seems to be missing since the Aug 16, 2018 Commit, which is causing Import-Module to fail.
Oh wow, seeing that! Thanks for pointing that out, @phatmandrake! Getting that fixed by tonight!
Alright, so after digging through, the issue isn't that the PSM1 is missing from the repo, it's that the CI build and deploy deployed the working directory to the PowerShell Gallery and not the module compiled during the build.
Here's the psake
task that compiles the module during the CI build:
https://github.com/scrthq/PoshBot.GChat.Backend/blob/master/psake.ps1#L111..L140
If you clone this repo locally then run build.ps1
, you'll see a new folder generated in the root of the repo named out
which contains the compiled module in it.
Working on updating the deployment task on the build script once I have a second! Building it locally will get you going for now though, at least =]
New version building now that should fix this =]
Excellent! I was able to get around it by using the .psm1 I found on the 16th, thanks for fixing this!
You bet! Thanks for bringing it to my attention!