Error when importing my discord bot to glitch

Hello, When I import my bot to glitch, first I would get an error saying Arg, something went wrong. Try again? :@, but then I refreshed and i now I keep getting this error in the logs, “/opt/watcher/app-types/node/start.sh: line 49: null: command not found”. Can anyone help with this? Thanks,

1 Like

Hey @mynameisnotkoal, welcome to the Gitch forum!

There are a couple of reasons why you might have trouble importing from GitHub; if you can let us know the url of the repo you’re importing from we might be able to help sort that out.

As far as the error you mention, https://glitch.com/help/failstart/ might be helpful but if you post your project name or the contents of your package.json file we might be able to give specific advice.

@cori here is the link https://github.com/mynameisnotkoal/remibot/

I was able to clone the GitHub repo without issue - feel free to remix from https://glitch.com/edit/#!/mynameisnotkoal-remibot-1 to get your own copy of it.

But yes, as per the above link Cori provided - there’s no start command in your package.json file so that will need to be added in order to make the project run.