Symlinks to the source files are republished to the pub/static/frontend/<Vendor>/<theme>/<locale> directory, after which the grunt less command can be run.
>> [InvalidArgumentException]
>> There are no commands defined in the "dev:source-theme" namespace.
>> Exited with code: 1.
Warning: Task "exec:Ganges" failed. Use --force to continue.
Aborted due to warnings.
Processed Area: frontend, Locale: en_US, Theme: Magento/luma, File type: less.
[InvalidArgumentException]
Verify entered values of the argument and options. Unable to resolve the source file for frontend/Magento/luma/en_US/css/styles-m.less
dev:source-theme:deploy [--type="..."] [--locale="..."] [--area="..."] [--theme="..."] [file1] ... [fileN]
Hi there,
I cannot reproduce the issue you've stated.
I did the following:
Hi shoaibrehman,
Thank you for giving it a try.
I, however, do not have Luma installed. Instead, I am working with a theme based on MGS Molly. Even though I have it set up this way, Luma is still requested when running "bin/magento dev:source-theme:deploy" which seems like the reason that grunt exec is not working.
@daanvdberg you should check the theme.xml file from the root of your theme, and the issue should be the <parent>Magento/luma</parent>, try to change the parent to Magento/blank. if not the case, please provide your dev/tools/grunt/configs/themes.js file
@daanvdberg we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.