Bug #100756
closed
JavaScript errors in install tool
Added by Simon Schaufelberger over 1 year ago.
Updated 5 months ago.
Category:
Backend JavaScript
Description
I have updated my TYPO3 core test environment running on PHP 8.1 and nginx and the backend is running find but the install tool is not working at all. These are the console errors that I get:
Browser: Firefox 105 under Ubuntu 18 (latest released version)
After some git checkouts I've noticed that the first breaking commit is this one: https://github.com/TYPO3/typo3/commit/df97f469c1d8e0c00fcee34d04384d813341ec62 which updates some npm dependencies. It seams like Firefox 105 is not compatible with them.
Files
- Related to Feature #99499: Introduce Content Security Policy handling added
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Description updated (diff)
- Subject changed from Content Security Policy errors in install tool to JavaScript errors in install tool
- Description updated (diff)
- Category set to Backend JavaScript
- Related to deleted (Feature #99499: Introduce Content Security Policy handling)
- Status changed from New to Needs Feedback
Does your nginx server already set CSP headers that might be incompatible? I just tested this with Firefox 112 on Fedora 38 and everything works as intended here.
Wait, the source of the CSP violations is "moz-extension". Can you please check whether you have a browser extension installed that may cause the issue?
Andreas Fernandez wrote in #note-9:
Does your nginx server already set CSP headers that might be incompatible? I just tested this with Firefox 112 on Fedora 38 and everything works as intended here.
no, it doesn't.
Wait, the source of the CSP violations is "moz-extension". Can you please check whether you have a browser extension installed that may cause the issue?
Yes, that is one of my addons. I've just done the whole thing in an incognito window and there the error messages are gone but as mentioned in the description before, the main issue is not CSP but a npm dependency issue even though I don't see the actual error in the console.
The last working commit is 3c54a7f97baa83ec66cc0404a6fa4372e6220a4c and the first breaking one is df97f469c1d8e0c00fcee34d04384d813341ec62
- Status changed from Needs Feedback to Accepted
Confirmed with Firefox ESR (currently 102). There seems to be an incompatibility with es-module-shims
.
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Is duplicate of Bug #100805: TypeError: Error resolving module specifier "@typo3/install/install.js" added
- Status changed from Resolved to Closed
Also available in: Atom
PDF