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] 🐛 white screen on installing on typo3v12.4.11 #734

Open
rblezer opened this issue Mar 5, 2024 · 9 comments
Open

[BUG] 🐛 white screen on installing on typo3v12.4.11 #734

rblezer opened this issue Mar 5, 2024 · 9 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists TYPO3 12

Comments

@rblezer
Copy link

rblezer commented Mar 5, 2024

white screen on installing extension builder onto website via composer.

TYPO3 Version 12.4.11
Extension builder v12.0.0-beta.1

image

@DavidBruchmann
Copy link
Contributor

Error messages from the browser console would certainly be interesting.

@rblezer
Copy link
Author

rblezer commented Mar 5, 2024 via email

@PKuhlmay PKuhlmay added bug Something isn't working TYPO3 12 labels Mar 5, 2024
@PKuhlmay PKuhlmay added this to the Next v12 Release milestone Mar 5, 2024
@PKuhlmay
Copy link
Collaborator

PKuhlmay commented Mar 5, 2024

Thanks, I will have a look at it. Do you have some more information? PHP Version, Composer mode?, Production or Development Mode? Content Security Policy enabled or disabled?
The error looks like a JavaScript error but these information could help me with debugging the error as I don't get this one.

@rblezer
Copy link
Author

rblezer commented Mar 5, 2024 via email

@PKuhlmay
Copy link
Collaborator

PKuhlmay commented Mar 5, 2024

This could be because of the content security policy. Could you try to disable it for the backend? In the Admin-Settings under Settings -> Feature Toggle.
I get a blank screen, when I enable the CSP, too. But the errors are a little bit different.

@rblezer
Copy link
Author

rblezer commented Mar 5, 2024 via email

@rblezer
Copy link
Author

rblezer commented Mar 7, 2024 via email

@PKuhlmay
Copy link
Collaborator

PKuhlmay commented Mar 7, 2024

Thanks for testing. The extension builder should also work, when content security policy is enabled. I think the problem occurs, when I use the wrong command for building all the JS assets with Webpack.

When I compile all the assets in Development mode, it fails, when I compile them in Production mode, it works.

This issue could be duplicated from #669

@PKuhlmay PKuhlmay added the duplicate This issue or pull request already exists label Mar 7, 2024
@PKuhlmay PKuhlmay changed the title white screen on installing on typo3v12.4.11 [BUG] 🐛 white screen on installing on typo3v12.4.11 Mar 24, 2024
@DavidBruchmann
Copy link
Contributor

I can confirm the bug and the positive impact of the feature toggle.
without backtrace my error was this:

Uncaught (in promise) EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' 'nonce-aLrV9gzsze8oMu90WBgdNn9X7EjAhTKaGOSux1VckgOlUB7ZkgLP_A' 'report-sample'".

@PKuhlmay PKuhlmay pinned this issue Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists TYPO3 12
Projects
TYPO3 12 Release
Awaiting triage
Development

No branches or pull requests

3 participants