slack-samples / deno-reverse-string

Post a reversed version of a string in a selected channel
MIT License
11 stars 13 forks source link

Template Not working #87

Open doctorwheauxdat opened 1 month ago

doctorwheauxdat commented 1 month ago

When trying to follow the guides for getting started with Slack apps, $ Slack run is producing the following output.

The start script was not found (sdk_hook_not_found)

Suggestion:

Hook scripts are defined in the Slack configuration file ('slack.json'). Every app requires a 'slack.json' file and you can find a working example at: https://github.com/slack-samples/deno-starter-template/blob/main/slack.json

This is pretty much the same issue stated in this reddit post. [https://www.reddit.com/r/Slack/comments/1ckydg1/script_not_found_sdk_hook_not_found_cant_make_my/]

zimeg commented 1 month ago

Hey @doctorwheauxdat 👋 Thanks for sending in this issue and sharing some extra context for it! We've seen this a few times before and I don't think it's specific to the sample, but how the CLI is attempting to run the project 🤔

Could you share a bit more about your setup and machine? From the linked post I'm guessing this might be happening on Windows, and if so this might be due to the PowerShell version <6 being used. An upgrade might work in that case, but I'm also wondering which CLI version this is happening with or any other details you can share!