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

HttpError is undefined in blog post #1

Open
DreaminDani opened this issue Jan 30, 2022 · 1 comment
Open

HttpError is undefined in blog post #1

DreaminDani opened this issue Jan 30, 2022 · 1 comment

Comments

@DreaminDani
Copy link

DreaminDani commented Jan 30, 2022

Hi there, just wanted to leave a comment to let you know that you might have missed step in your post: https://benjamin-preiss.medium.com/create-a-blog-with-sveltekit-and-directus-cms-f33e9ea65294

In the sample code under the "Authentication" header, the index.svelte code snippet references a HttpError.js file that has not been defined yet. I was able to copy it out of the repo to get things working.

Thanks for the awesome post,
Dani

@DreaminDani
Copy link
Author

Now that I've read more of the blog post, I see what's going on here! I tried to run it too early and just saw that the HttpError file is defined further down 🤦

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