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

payu.css file is not generating #20

Open
daniel-pietka opened this issue Mar 20, 2022 · 0 comments
Open

payu.css file is not generating #20

daniel-pietka opened this issue Mar 20, 2022 · 0 comments

Comments

@daniel-pietka
Copy link

daniel-pietka commented Mar 20, 2022

after generating static files with command php bin/magento setup:static-content:deploy file /PayU_PaymentGateway/css/payu.css is not created.

After loading the page in the browser, an error appears:
Refused to apply style from 'https://xxx.com/static/version1647765571/frontend/Sm/market/pl_PL/PayU_PaymentGateway/css/payu.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

The payu.css file at the specified path does not exist. Cleaning cache files and reinstalling does not help. In the attached screenshot you can see that the css styles are missing

My Magento wer. 2.4.2

Attempting to fix the error:
a file was created in /var/www/html/vendor/payu/magento24-payment-gateway/view/frontend/web/css/payu.css with content from https://github.com/PayU-EMEA/plugin_magento_24/blob/master/view/base/web/css/payu.css and run php bin/magento setup:static-content:deploy

Beznazwy-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant