-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Issue] Static content deploy - Type error #38682
Comments
Hi @Nuranto. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @Nuranto , Thanks for reporting and collaboration. Verified the issue in Magento 2.4 dev instance and 2.4.7 and the issue is not reproducible. Steps to reproduce: 1.Create an empty less file in your theme Please refer the attached screenshots, data and let us know if we missed anything. Created an empty less file in luma theme abc.less bin/magento setup:static-content:deploy --force , it's ran successfully |
Rename |
Hi @Nuranto, Verified the issue on 2.4-develop, 2.4.7 and it is reproducible. Hence, Confirming the issue. Steps to reproduce:- 1.Create an empty less file in your theme Please refer the attached screenshot. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-11905 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Delta. Thank you for verifying the issue. |
seem you need use file less with underscore for solve problem. Magento not allow you import styles without underscore |
my less file not empty still giving me same error after upgrading to 2.4.7 in deploy command !!! any Updates ? |
I also face this issue too. I filled something in that empty css file as a workaround. |
I have the same problem, is there any update? `Compilation from source: /home/XXX/public_html/vendor/magento/theme-frontend-blank/web/css/styles-m.less Error happened during deploy process: Magento\Framework\Exception\LocalizedException::__construct(): Argument #1 ($phrase) must be of type Magento\Framework\Phrase, string given, called in /home/cepmania/public_html/vendor/magento/module-deploy/Service/DeployPackage.php on line 142` |
Preconditions and environment
Steps to reproduce
setup:static-content:deploy --force
Expected result
The error "LESS file is empty" is displayed correctly
Actual result
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: