linked-blog-starter-md icon indicating copy to clipboard operation
linked-blog-starter-md copied to clipboard

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

Open CodyMan0 opened this issue 2 years ago • 10 comments

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

CodyMan0 avatar Apr 28 '23 09:04 CodyMan0

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 avatar May 06 '23 12:05 Vetrov0x

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

Vetrov0x avatar May 06 '23 12:05 Vetrov0x

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

matthewwong525 avatar May 06 '23 17:05 matthewwong525

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?

matthewwong525 avatar May 06 '23 17:05 matthewwong525

Thank you so much!

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

CodyMan0 avatar May 10 '23 10:05 CodyMan0

Thank you so much!

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

Yes of course! Would be happy to review

matthewwong525 avatar May 11 '23 02:05 matthewwong525

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!

CodyMan0 avatar May 12 '23 07:05 CodyMan0

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

ChenHaoTech avatar Sep 23 '23 14:09 ChenHaoTech

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 avatar Jul 12 '24 14:07 vcavallo

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)

vcavallo avatar Jul 12 '24 14:07 vcavallo