Closed alexixiv closed 4 years ago
hey @alexixiv - The new version of the module (0.12.0) still needs to be deployed. If you'd like to test locally, you'll need to build the module first by running this from the root of the repo:
. .\build.ps1 -Task Build
After running that, it should create a folder in the repo root named out
that will contain the compiled module in it.
hey @alexixiv - The new version of the module (0.12.0) still needs to be deployed. If you'd like to test locally, you'll need to build the module first by running this from the root of the repo:
. .\build.ps1 -Task Build
After running that, it should create a folder in the repo root named
out
that will contain the compiled module in it.
Awesome! Thanks for the info! I will give this a shot.
hey @alexixiv - The new version of the module (0.12.0) still needs to be deployed. If you'd like to test locally, you'll need to build the module first by running this from the root of the repo:
. .\build.ps1 -Task Build
After running that, it should create a folder in the repo root named
out
that will contain the compiled module in it.
Looks like it is missing the "build" directory. I was also missing the "ModuleBuild" module cmdlets, but I was able to locate that. I don't see the "build" directory in either branch. I tried adding the build directory manually to see if maybe it was just needing a place to dump content, but errors after that suggest that it is missing other dependencies in that directory.
Checking the updated build.ps1
script and it looks like you'll want to include the -Bootstrap
switch when running it the first time. This will install the required modules to build PoshBot
with:
. .\build.ps1 -Task Build -Bootstrap
https://github.com/poshbotio/PoshBot/blob/master/build.ps1#L20..L28
You should see something like this from the build output and additional out
folder added to the repo root once done:
That worked! Thanks for the help!
No problem!
On Wed, Oct 16, 2019 at 6:44 PM alexixiv notifications@github.com wrote:
That worked! Thanks for the help!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/poshbotio/PoshBot/issues/182?email_source=notifications&email_token=ADBCRXMB3JEXNVN2N64ZLGTQO6RM3A5CNFSM4JAWJTF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBOIUPA#issuecomment-542935612, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBCRXMRJRA6TTXTUDZTNPLQO6RM3ANCNFSM4JAWJTFQ .
@alexixiv v0.12.0
should be released "soon". Just need to make sure there are no egregious bugs in the Discord backend. Please report any issues you find!
180 Expected Behavior
Be able to follow the Discord Backend documentation to successfully run the command: "$backend = New-PoshBotDiscordBackend -Configuration $backendConfig"
Current Behavior
Error says that "New-PoshBotDiscordBackend" does not exist as a cmdlet.
Possible Solution
Update the PSGallery with the latest PoshBot 0.12.0 package version.
Steps to Reproduce (for bugs)
Context
Unable to complete Discord Backend setup.
Your Environment
-Confirmed on 2 systems with the same setup
I also cloned both branches and attempted to manually import the PoshBot modules from there but it is throwing an error about "PoshBotAttribute.ps1" not existing.