My next-app folder(my_app) on deploying from github is not available

my next-app folder is not available when importing from my github. There are other folders for the website, however i can’t see the folder for my nextjs app when trying to build. Is there any fix?

I expected to see the folder (E.g my_app) and deploy

Not sure if it’s reproducable, it’s my first time deploying in vercel and using nextjs

Nexjts, deploying from github. I have already given permission to the specific repository and i can see some of the folders within the repo

Hi @alsongadizo-gmailcom, welcome to the Vercel Community!

Is the repository under a personal account or an organization? Can you share the link to your repository here?

here is the link : mydevportfolio
it’s under a personal account.
so i tried something :
i created another repository copied the nextjs folder into the repository and pushed, then deployed and it worked. So i’m sure it isn’t about my webapp.
This is the link to my new website: link though i would prefer for it to be in my portfolio.

Thanks for additional information. You are saying that Vercel is able to detect the https://github.com/alsongard/prac_dev repository but not https://github.com/alsongard/alsongard?

Have you tried unlinking and relinking GitHub to your Vercel account?

No it’s detecting pract_dev and also alsongard repositories, but the difference is my nextjs folder that is mydevportfolio is not displayed in alsongard. For the prac_dev it’s displayed. I tried ago unlinking my github account with no success, i even gave permission to all repositories and tried again with no success.

Hi @alsongadizo-gmailcom, I’m not sure if I understand you correctly. Can you show me a screenshot or something that explains the issue better?

The folder is nested in the repository so for both the cases you need to go to Project settings in Vercel dashboard and set the root directory to mydevportfolio.

yes the project is in the mydevportfolio

this is in alsongard repository

I see. Can you do a screen recording for this please? It’ll be easier to share with our team to debug this.

A quick fix for this issue would be to create the project by choosing any of the shown root directory and then later on going to the Project settings and change the root directory from there.

1 Like

hi am trying to upload the video, the format is mp4 but it’s not responding. I’m gonna send it directly to your email. Let my try the fix above and I’ll let you know. Thanks

1 Like

(Attachment vercel_hosting_issue.mp4 is missing)

Hi @alsongadizo-gmailcom, if the recording doesn’t have sensitive information you can upload it to a public repository like https://imgur.com/ and share the link here

Also thanks for the solution, it did work

1 Like

Glad that it worked. Sure you can delete the video afterwords.

@alsongadizo-gmailcom I got it. Thanks for sending the video for debugging.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.