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

TypeError: Cannot read properties of undefined (reading 'ServerClient') #9

Open
niklasgrewe opened this issue May 9, 2022 · 0 comments

Comments

@niklasgrewe
Copy link

Hi, after i used your stack and added some new pages, i wanted to restart my dev server with npm run dev but i get the following error in the console:

/path/to/project/app/routes/blog.rss[.]xml.ts:23
            const frontMatter = JSON.parse(post.frontmatter)
                                                ^
TypeError: Cannot read properties of undefined (reading 'ServerClient')
    at Object.<anonymous> (/path/to/project/app/routes/blog.rss[.]xml.ts:23:49)

Do you have any idea what this error means and how to fix it? I have not changed anything related to the stack.

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

No branches or pull requests

1 participant