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

bug: Internal Server Error on Nextjs App (SSR) #6173

Open
3 tasks done
rjborba opened this issue Feb 23, 2025 · 0 comments
Open
3 tasks done

bug: Internal Server Error on Nextjs App (SSR) #6173

rjborba opened this issue Feb 23, 2025 · 0 comments
Labels
Bug: Validated This PR or Issue is verified to be a bug within Stencil Help Wanted

Comments

@rjborba
Copy link

rjborba commented Feb 23, 2025

Prerequisites

Stencil Version

4.27.0

Current Behavior

Internal Server Error when using SSR components on NextJs application

TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}

Expected Behavior

Should work, according to documentation, out of the box.

System Info

"@stencil/core": "~4.27.0"
"@stencil/store": "2.0.16"
"@types/react": "^19"
"@types/react-dom": "^19"
"next": "15.1.7"

Steps to Reproduce

Just check the code sandbox

Code Reproduction URL

https://codesandbox.io/p/devbox/broken-store-on-conditial-rendered-component-forked-gm3khq?file=%2Fapp%2Fdemo-nextjs%2Fpackage.json%3A14%2C5-14%2C22&workspaceId=ws_JLonnZKrY598Z6t64ffEK3

Additional Information

Not sure if I'm doing something wrong, but I followed the documentation regarding integration.

@ionitron-bot ionitron-bot bot added the triage label Feb 23, 2025
@christian-bromann christian-bromann added Bug: Validated This PR or Issue is verified to be a bug within Stencil Help Wanted and removed triage labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Validated This PR or Issue is verified to be a bug within Stencil Help Wanted
Projects
None yet
Development

No branches or pull requests

2 participants