build(web-ui): fix rollup failing - #4687
Conversation
ReenigneArcher
left a comment
There was a problem hiding this comment.
Thank you for the fast resolution on this!
Use actions/setup-node instead of MSYS2. Revert commit `fix(build): using @rollup/wasm-node` partial changes in #3905 Signed-off-by: Coia Prant <coiaprant@gmail.com>
|
|
It looks like fine. I've manually mounted the NodeJS PATH. I think we don't need a PATH for npm prefix. CI PASSED at https://github.com/rbqvq/Sunshine/actions/runs/21802858672/job/62901261780 I'm going to sleep now. |
Bundle ReportBundle size has no change ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4687 +/- ##
==========================================
+ Coverage 15.14% 15.17% +0.03%
==========================================
Files 95 95
Lines 19883 19883
Branches 9196 9196
==========================================
+ Hits 3011 3018 +7
- Misses 15684 15727 +43
+ Partials 1188 1138 -50
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Hello, we have encountered the same problem as you, but we are also very lucky that this problem has not been triggered until today. AlkaidLab/foundation-sunshine#503 The following is the translation. When Rollup's module pipeline processes an entry file, it invokes the Older versions of Rollup (worked previously):
Newer versions of Rollup (currently throwing errors):
So it's not that "the new version started using it," but rather that the new version changed the invocation order of the Theoretically, you could add But this is not a good fix:
Deleting the |
|
This PR only addressed an issue when compiling for debian on arm64. Due to adding It wasn't detected before merge, because we don't compile arm64 docker builds in CI/CD for PRs. |
|
Alright Ok. As described by the last comment:
If you encounter similar problems in future upgrades, you could consider to deal with it like what I did. I hope you will don't encounter it, it's too metaphysical. |
|
Thank you for sharing, the problem here is stable trigger, last year's version did not have this problem, the problem has been solved. |



Description
Use actions/setup-node instead of MSYS2.
Revert commit
fix(build): using @rollup/wasm-nodepartial changes in #3905Type of Change
Checklist
AI Usage