When using yarn and running yarn prod
, I encountered the following error:
https://i.stack.imgur.com/2emFk.jpg
It seems to be stuck at this particular part of the code:
mix.then(() => {
execSync(`npm run rtlcss ${__dirname}/Assets/css/admin.css ${__dirname}/Assets/css/admin.rtl.css`);
execSync(`npm run rtlcss ${__dirname}/Assets/css/dashboard.css ${__dirname}/Assets/css/dashboard.rtl.css`);});
Strangely, manually running this command works fine, and the same command in the dev folder executes successfully when running yarn prod
.
The master and dev branches have been merged so they should be identical.
What could possibly be causing this issue?