从源代码编译:无法从 magento2 中为 uber craft 主题部署的静态内容部署上的文件中读取内容


Compilation from source: Cannot read contents from file on static -content deploy for uber craft theme in magento2

我已经安装了 Magento2 并尝试配置 Uber Craft 主题,但是当我尝试运行 magneto 命令来部署静态内容时。它显示新主题的错误,而默认主题则不显示错误。错误如下。

=== frontend -> UberTheme/craft -> en_US ===
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...........................................
Compilation from source:
frontend/UberTheme/craft/en_US/css/styles-l.less
Cannot read contents from file "C:/xampp/htdocs/Magento/" >

我正在执行以下命令

C:''xampp''htdocs''Magento>php bin/magento setup:static-content:deploy

我遇到了同样的问题,在我的情况下,app > design > frontend > VerndorName > ThemeName > web > css是一个空的CSS文件。确保您没有任何空文件。