misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Deploying To Vercel Failing

Open solomonshalom opened this issue 2 years ago • 7 comments

💡 Summary

I tried misskey on vercel but for some reason the deployment didn't go through and rather threw an error instead -

Screenshot_20230711-073753_Chrome

Can someone help me fix it? 😫

P.S - If possible, please make and add a vercel deploy button for ease of deployment + the cost would be cut massively for developers to host it too!

📝 Steps to Reproduce

  1. Go to vercel
  2. Click new project
  3. Select third-party github repository
  4. Add misskeys github repository
  5. click continue
  • Misskey's github repository will be cloned to your github account in this step
  1. Click Okay or Continue
  2. Deployment should

📌 Environment

NodeJS 18.x

solomonshalom avatar Jul 11 '23 02:07 solomonshalom

It seems git submodules are not downloaded (the repository not cloned recursive).

Try to add

git submodule update --init;

at the first of build process.

tamaina avatar Jul 11 '23 02:07 tamaina

Hi! @tamaina

Thank you for the quick reply but I am not sure how to do this in vercel, or should this be done in the package.json file?

If it's alright, can you share me a step by step process on how to do it?

Would love to know!

solomonshalom avatar Jul 11 '23 03:07 solomonshalom

btw I think Vercel is not suitable for deploying Misskey.

acid-chicken avatar Jul 11 '23 03:07 acid-chicken

@solomonshalom Sorry, I don't know how to use Vercel well.

tamaina avatar Jul 11 '23 04:07 tamaina

btw I think Vercel is not suitable for deploying Misskey.

I've been using Vercel for a long time (I've been using it since the days of now) and I agree with this.

fu-sen avatar Jul 11 '23 04:07 fu-sen

btw I think Vercel is not suitable for deploying Misskey.

I've been using Vercel for a long time (I've been using it since the days of now) and I agree with this.

Hmm, I understand but there's gotta be a workaround, right?

solomonshalom avatar Jul 11 '23 06:07 solomonshalom

btw I think Vercel is not suitable for deploying Misskey.

I've been using Vercel for a long time (I've been using it since the days of now) and I agree with this.

Hmm, I understand but there's gotta be a workaround, right?

Unfortunately, no.

acid-chicken avatar Jul 11 '23 08:07 acid-chicken