User tests: Successful: Unsuccessful:
Pull Request resolves #47755.
Follow-up of #47789
This pull request addresses cross-platform path compatibility issues, particularly for Windows environments, by ensuring that module paths consistently use forward slashes in codemirror build.
Cross-platform path handling improvements:
getPackagesUnderScope in resolve-package.mjs to use forward slashes when constructing module names, avoiding issues with backslashes on Windows that can break Rollup's external module matching.builder.mjs to replace any backslashes with forward slashes, ensuring asset paths are valid in joomla.asset.json.run npm ci
apply patch
run npm ci again
rename media folder to e. g. media_old
run npm ci again
Please check if the assets are loading correctly in the backend for the codemirror editor e. g. System -> Site Templates - Open any file. (ref: #47789 (comment))
Issues are currently occurring on Windows, to validate the test results, please specify the operating system on which the tests were executed. The fix for Windows should not cause regressions on other operating systems It would be helpful if we could validate this simultaneously here.
Error during execution on Windows - see #47755
should work as expected without errors.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Thanks @joomdonation!
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Repository |
| Labels |
Added:
PR-6.2-dev
|
||
Tested successfully on Windows 11. The npm installation completed without errors (806 packages added, 807 audited).
Please use "Test this" here: https://issues.joomla.org/tracker/joomla-cms/47793
I have tested this item ✅ successfully on 439a4e6
I have tested this item ✅ successfully on 439a4e6
Tested successfully on Windows 11. The npm installation completed without errors (806 packages added, 807 audited).