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

I stumbled upon a Vike bug. #1828

Closed
mean-ui-thread opened this issue Aug 27, 2024 · 2 comments
Closed

I stumbled upon a Vike bug. #1828

mean-ui-thread opened this issue Aug 27, 2024 · 2 comments
Labels

Comments

@mean-ui-thread
Copy link

Description

3:54:32 p.m. [[email protected]][request(2)][Bug] You stumbled upon a Vike bug. Go to https://github.com/vikejs/vike/issues/new and copy-paste this error. A maintainer will fix the bug (usually under 24 hours).
    at assertPlusFileExport (file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/assertPlusFileExport.js:30:5)
    at parseValueSerialized (file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/serialize/parsePageConfigs.js:107:9)
    at file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/serialize/parsePageConfigs.js:59:48
    at Array.map (<anonymous>)
    at file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/serialize/parsePageConfigs.js:58:43
    at Array.forEach (<anonymous>)
    at parseConfigValuesSerialized_tmp (file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/serialize/parsePageConfigs.js:54:44)
    at parseConfigValuesSerialized (file:///home/mean-ui-thread/git/vike-test/node_modules/vike/dist/esm/shared/page-configs/serialize/parsePageConfigs.js:8:26)
3:54:32 p.m. [vike][request(2)] HTTP response / ERR
@mean-ui-thread
Copy link
Author

mean-ui-thread commented Aug 27, 2024

I think the issue was actually on my side. I forgot to add export default in front of function Head() { in my +Head.tsx file. I still raised the issue just in case it means something else 🤷

Feel free to close it if it isn't a bug. Thanks!

@brillout
Copy link
Member

Thank you and it should be fixed now. Ideally Vike should never throw You stumbled upon a Vike bug so let us know if you stumble upon such error again.

(Also in case your company is up for it, we're looking for sponsors (#1350). It makes a massive difference to us!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants