WIP: Enable stencil SSR for react consumer app#151
Open
rriemann wants to merge 5 commits into
Open
Conversation
This fixes the error: /ecl-webcomponents-react-consumer (ecl-v5-dev) [127]> toolbox run --container vitepress npm install npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: @ecl/ecl-webcomponents-react-consumer@0.25.3 npm error Found: vite@8.0.9 npm error node_modules/vite npm error dev vite@"8.0.9" from the root project npm error peer vite@"*" from @vitejs/devtools@0.1.15 npm error node_modules/@vitejs/devtools npm error peerOptional @vitejs/devtools@"^0.1.0" from vite@8.0.9 npm error npm error Could not resolve dependency: npm error peer vite@"^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from @vitejs/plugin-react@4.7.0 npm error node_modules/@vitejs/plugin-react npm error dev @vitejs/plugin-react@"4.7.0" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error /home/rriemann/.npm/_logs/2026-04-25T09_41_40_700Z-eresolve-report.txt npm error A complete log of this run can be found in: /home/rriemann/.npm/_logs/2026-04-25T09_41_40_700Z-debug-0.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I try to test stencil SSR in the react consumer app.
So far, it is not working. Running
npm run devgives:Note that I had to downgrade some dependencies to install stencil SSR. I created a feature request to the stencil repo for support of more recent vite versions:
stenciljs/output-targets#792