rauchg / slackin

Public Slack organizations made easy
http://rauchg.com/slackin/
MIT License
6.51k stars 1.35k forks source link

now deployment fails - no GitHub deploy, and no query for info #394

Open deitch opened 5 years ago

deitch commented 5 years ago

I followed the instructions on the README, got 2 errors. First, GitHub based deployment no longer works, see this issue. Error is:

> Error! The specified file or directory "slackin" does not exist"

Based on the issue above, I git cloned the slackin repo, and tried to run again. The deploy worked, but it didn't query for parameters, or do anything, just loaded the files:

$ now rauchg/slackin
> WARN! Your project is missing a now.json file with a `version` property. More: https://zeit.co/docs/version-config
> Deploying ~/Documents/Development/rauchg/slackin under deitch
> Using project slackin
> https://slackin-k2d6wyjaa.now.sh [v2] [in clipboard] [3s]
> Success! Deployment ready [3s]

Going to the URL just gives a list of files.

Thanks!

jorisre commented 5 years ago

@deitch You're using now V2. Slackin use now V1, that's why nothing work. You (or somebody) should update now config to v2.

New version of now use node 8+, slackin use Node 6...

deitch commented 5 years ago

So this repo needs to be updated?

jorisre commented 5 years ago

I think but I don't know the code base.

deitch commented 5 years ago

Ha! Me neither. Hoping a maintainer can comment?

deitch commented 5 years ago

It gets worse. Now no longer will support now v1 deployments.

StephenVNelson commented 5 years ago

Really hoping this gets resolved

deitch commented 5 years ago

I got pretty far with it, happy to submit a PR. Ran into a problem with the transpiling + serving. See the open discussion on Zeit/Now forum here. When that is resolved, I will submit.

cyntss commented 5 years ago

Glad to read someone (@deitch ) is working on a fix. It was quite frustrating to get those errors when trying both Now and Slackin for the first time and seeing no documentation referring to this.

Hoping maintainers see and solve this problem :)

deitch commented 5 years ago

I almost have it working, have run into a problem with now itself, specifically transpiling and serving. If anyone has any ideas about that part, I can be ready for a PR on this quickly. I raised the issue in the now forum here.

ripulpatel commented 5 years ago

I have same issue as @deitch reported. I have zero knowledge in any kind of web development.. Was hoping I could follow the direction and would work but again it just shows list of files on the link provided after running "now -e SLACK_API_TOKEN="<>" -e SLACK_SUBDOMAIN="<>" -e GOOGLE_CAPTCHA_SECRET="<>" -e GOOGLE_CAPTCHA_SITEKEY="<>" <>/slackin --public"

deitch commented 5 years ago

OK, got it. PR coming shortly.