Skip to content

payu.css file is not generating #20

@daniel-pietka

Description

@daniel-pietka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions