GitLab push issue

I am trying to push my project to GitLab but I am facing with this issue.

The steps that I did:

  • Created a new project in GitLab, and also created a new project in Vercel.
  • Imported the project
  • I tried to create a deployment using the git for my existing project , but still facing the issues attached below
Running build in Washington, D.C., USA (East) – iad1
Running "vercel build"
Vercel CLI 41.5.0
Running "install" command: `bun install`...
error: Bun could not find a package.json file to install from
note: Run "bun init" to initialize a project
Error: Command "bun install" exited with 1

Hi @dean-aixph, welcome to the Vercel Community!

I’m sorry you’re running into this issue. Can you share a little bit more about the project:

  • what tech stack are you using?
  • was this project working previosuly?

I recommend you to read through our How to Get Good Answers guide and add more details to your post.

My tech stack are:

  • Next.js
  • Firebase
  • Git

The project is just recently created but working well with Vercel deployment. However, I am trying to push or deploy the project into GitLab but currently facing the attached issues above.

Hi @dean-aixph, I see. Do you mean you are trying to push the code repository to GitLab and face this issue? Can you share the docs you are following?

I’m a bit confused. More details will definitely help.

Yes, I am trying to push the code repo to GitLab. The docs that I am following is this

I see. Can you share the folder structure and contents of your repository? It maybe that your project is not at the root folder.

Hmmm… I don’t get the part of “root folder” being the issue. The code is generated from Vercel or v0, and I’m trying to push that code to my connected gitlab/repo.

Hi @dean-aixph, to push the code to the GitLab repository you should use the git push command. Is that not working for you?

Sorry, I still think there’s a gap between what you are trying to explain, I’m not getting it fully.

Oh. I’m sorry. But is possible to push the code within the v0 or vercel? I can’t seem to find the terminal to do that. However, my project is connected to Git. I am just wondering on how. Sorry for the confusion

Jumping in here - are you building on v0? If so, we don’t currently support pushing code to GitLab. But I can pass this on as a feature request :sparkles:

2 Likes

Hello, thank you for clarification. Yes, I’m building on v0. GitLab support would definitely helpful. Looking forward to any updates!

1 Like