matthewwong525 / linked-blog-starter-md

Markdown files for the linked-blog-starter repository
linked-blog-md.vercel.app
37 stars 721 forks source link

[BuildError] There is no Next.js version so that Build linked-blog-starter-md. #4

Open CodyMan0 opened 1 year ago

CodyMan0 commented 1 year ago

Hi ~ Thanks to you, I can now easily deploy my Obsidian notes (using Obisidian-git)to a web page. really appreciate it.

however, There is one issue whenever

스크린샷 2023-04-28 오후 6 43 21

Even though the changes are reflected on the website after deploying with link-blog-starter-md, there are cases where the build fails because Next.js is not installed in the directory.

I'm trying to fix it in publish.yml now, Do you know?

Vetrov0x commented 1 year ago

Hi ~ Thanks to you, I can now easily deploy my Obsidian notes (using Obisidian-git)to a web page. really appreciate it.

however, There is one issue whenever

스크린샷 2023-04-28 오후 6 43 21

Even though the changes are reflected on the website after deploying with link-blog-starter-md, there are cases where the build fails because Next.js is not installed in the directory.

I'm trying to fix it in publish.yml now, Do you know?

  • Brian

Got the same issue, just deleted and tried to re-do all step by step and it worked 🤷‍♂️

Vetrov0x commented 1 year ago

I have an other issue with "npm i" : there is no package.json in the directory

matthewwong525 commented 1 year ago

Does this happen intermittently? I suspect maybe you forgot the framework preset in step 4: image

matthewwong525 commented 1 year ago

I have an other issue with "npm i" : there is no package.json in the directory

Where are you running npm i from? Also could you create another issue for this?

CodyMan0 commented 1 year ago

Thank you so much!

Can I send a pull request about graph view using D3,

matthewwong525 commented 1 year ago

Thank you so much!

Can I send a pull request about graph view using D3,

Yes of course! Would be happy to review

CodyMan0 commented 1 year ago

I apologize for the inconvenience caused by the large size of the code in the pull request. Thank you for submitting the PR. I appreciate it!

ChenHaoTech commented 11 months ago

hi all, I know the reason, because there is no right writing here.

image
vcavallo commented 1 month ago

I'm having the same issue. This repo doesn't include a Next.js install, so the Vercel deploy fails as there are no relevant Next.js files getting pushed. I do have Next.js chosen as the framework in Vercel.
Is the Next.js build supposed to be handled by the workflow only, and the next.js source files are not intended to be included here? If so, perhaps some dependency in the workflow is missing or broken?

vcavallo commented 1 month ago

Disregard my previous comment.

I looked into the github workflow log and found:

...
Vercel CLI 34.3.0
Retrieving project…

Retrieving project…
Error: Project not found ({"VERCEL_PROJECT_ID":"***","VERCEL_ORG_ID":"***"})

Error: Project not found ({"VERCEL_PROJECT_ID":"***","VERCEL_ORG_ID":"***"})

Error: The process '/usr/local/bin/npx' failed with exit code 1

I am using a vercel team, and thus needed to use the proper team ID for the VERCEL_ORG_ID variable. Might be worth updating the docs to point this out ("user settings" is not necessarily the correct place to get the value, if you're using a team)