magesuite / theme-creativeshop

Open Software License 3.0
38 stars 24 forks source link

./preview.png magesuite-theme-generator #30

Closed thomas7467 closed 3 years ago

thomas7467 commented 3 years ago

Hi, I have this error when running .yarn/bin/magesuite-theme-generator

Cloning CreativeShop repository to use as a base... Adjusting registration.php file... Adjusting composer.json file... Adjusting theme.xml file... Adding default preview file... ENOENT: no such file or directory, stat './preview.png'

How can I solve this? Thank you

ggm-dev commented 3 years ago

@thomas7467 - Copy the preview.png file from theme-creativesuite/src to /src and error should go away.

thomas7467 commented 3 years ago

@ggm-dev : thanks ! works fine now.

roman204 commented 3 years ago

@thomas7467 - Copy the preview.png file from theme-creativesuite/src to /src and error should go away.

for anyone running into this issue and find that comment, it means the preview.png file has to be in that folder where the command (magesuite-theme-generator) is executed for example if your pwd is the directory /var/www/htdocs then the file has to be /var/www/htdocs/preview.png