Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added error check, reminding to run setup first #18

Closed
wants to merge 1 commit into from
Closed

Added error check, reminding to run setup first #18

wants to merge 1 commit into from

Conversation

nejat-njonjo
Copy link

Discovery

I was testing this repository locally, so I skipped the follwing a step to setup testing records

npm run setup

I was getting this error

TypeError: Cannot read properties of null (reading 'bio')
  71 |   return {
  72 |     ...results,
> 73 |     bioMdx: await getMdxSource(results.bio || placeholderBio)
     |                                       ^
  74 |   };
  75 | }
  76 |

Solution

I added a check and remind the user to run npm run setup first.

@vercel
Copy link

vercel bot commented Oct 28, 2022

@nejat-njonjo is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@nejat-njonjo nejat-njonjo closed this by deleting the head repository Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant