Open Equirinya opened 2 months ago
Very similar to this reddit thread: https://www.reddit.com/r/Slack/comments/1btrarr/please_test_my_open_ai_slack_bot/
Hi, @Equirinya! I have just merged in some dependency updates in this PR for this template: https://github.com/slack-samples/deno-starter-template/pull/64, could you try to follow the quickstart guide again to create a new app and run it and see if you get the same errors?
I have exactly same error with @Equirinya.
@hello-ashleyintech I created a new app and run it but I got the same error:The start
script was not found (sdk_hook_not_found)
The slack.json file is present and looks like this:
{ "hooks": { "get-hooks": "deno run -q --allow-read --allow-net https://deno.land/x/deno_slack_hooks@1.3.0/mod.ts" } }
Hi, @whogodemo!
How recently did you create this new app?
Unfortunately its the same error still @hello-ashleyintech
👋 This might be caused by the PowerShell version being used with CLI implementations of hook execution, but not the actual hook implementations. The exec: "pwsh": executable file not found
hints that the PowerShell version installed is less than 6.0
while support for pwsh
is added in 6.0
. Right now this is the minimum version supported by the CLI.
If you're using PowerShell could you check the version you're using? I'm wondering if this might be causing this issue and if bumping to a more recent version is possible?
Alo alo 😃
I want to confirm that I solved the problem updating to PowerShell 7
; you can't check your PS version running.
$PSVersionTable
If you want to install the latest version of PS
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#installing-the-msi-package
Stock control supervisors
I've followed the Quick-Start https://api.slack.com/automation/quickstart and but no matter which template I'm cloning i always get this error: The
start
script was not found (sdk_hook_not_found).:This is the slack doctor:
The slack.json file is present and looks like this:
Im executing the slack run command in the right folder I've upgraded the slack cli to the latest version the slack.json file is identical to the one of this slack-sample
These are the logs: