./launcher rebuild app error './launcher: No such file or directory'

AI-generated summary

A user named obiwankenoobi encountered an error ./launcher: No such file or directory while trying to rebuild their Discourse app after installing a plugin. They installed Discourse via Vagrant, not Docker, and had placed their files in /Github/discourse instead of /var/discourse. schleifer clarified that the ./launcher command is specific to Docker-based installs and doesn’t exist in Vagrant setups. jerdog confirmed that Vagrant installs don’t use ./launcher, as it’s a Docker tool. schleifer further explained that the plugin installation tutorial obiwankenoobi followed is meant for standard (Docker) installs, not development (Vagrant) environments. Instead, plugins should be installed by running git clone directly inside the plugins folder. Following this advice, obiwankenoobi successfully installed the plugin by navigating to /Github/discourse/plugins and cloning the plugin repository. The user apologized for the beginner question, acknowledging their newness to Ruby and Discourse development.

Hey guys. So I started with Discourse a couple of days ago and today I tried to install some plugin but couldn’t make it work. I followed this tutorial and when I get to the final stage and should have to rebuild the app I got the error ./launcher: No such file or directory notice that my /discourse is not in /var but in /Github dir so I don’t know if it’s matter. This is my first Ruby program I working on and having a rough time. Hope you could help me! Thank you!

Yes, it matters. Replace the cd /var/discourse with the actual location of your files.

Yes this is actually what I did. Instead of cd /var/discourse I did cd /Github/discourse because my files are there. And this is the error I get when trying to rebuild the app from this dir.

what files are in that directory? And did you do a Discourse install via Docker? If so, then do you have a /Github/docker folder (judging by your aforementioned structure)?

files in this dir :
Brewfile discourse.sublime-project
CONTRIBUTING.md docs
COPYRIGHT.txt images
Gemfile jsapp
Gemfile.lock lib
LICENSE.txt log
Procfile package.json
README.md packaging
Rakefile plugins
Vagrantfile public
adminjs script
app spec
bin test
config tmp
config.ru vendor
d yarn.lock

and no I installed via Vagrant using this tutorial. My discourse app is still on localhost.

So I am not familiar with using Vagrant, but you wouldn’t use ./launcher to reload as that’s a Docker command - which is why it’s not in the directory.

Then the plugin tutorial is completely wrong for your environment – that’s for “standard” installs. In a development install you should run git clone in the plugins folder.

Thank you!

cd /Github/discourse/plugins
git clone 

Worked! (: sorry if it was dumb question I am really new to this.