2

I've cloned a working magento 2 repo, done composer install and when I'm trying do do: setup:static-content:deploy I get the error:

[InvalidArgumentException]
en_US argument has invalid value, please run info:language:list for list of available locales

When I run info:language:list I've got an empty list.

This is happening only on windows with xampp - on other computer with linux/mac everything is working fine.

What could be the problem?

EDIT: Every new install of magento 2 fails on two computers with win7 and xampp. I've tried wamp but it failed as well. It doesn't matter how magento is installed - though composer, git clone or zip package. Any ideas?

0

Try to remove var/* of magento2 and recompile all again by execute command php bin/magento setup:static-content:deploy. If problems still there you should re-install magento
Latest version 2.0.2 here

  • The first thing I tried was removing var/* but it did not help. Reinstalling magento is not a solution for me at the moment. Any other ideas? – Tom Feb 12 '16 at 7:20
  • Backup db and try to install clean. Have you try to download full code i already answer above? Install new may help to solve conflict or missing packages. I don't have experience about this problem. My case works fine with Windows 10 and xampp install along with full zip source code – mrtuvn Feb 12 '16 at 14:40
  • Every new install of magento 2 fails on two computers with win7 and xampp. I've tried wamp but it failed as well. It doesn't matter how magento is installed - though composer, git clone or zip package. Any ideas? – Tom Mar 1 '16 at 7:19
  • you should download from previous link in comment. I have tested in windows 10 + xampp. I works fine in latest release. Make sure you install version with sample data. By the way , you should make sure to check all files you have changed. Maybe it contain error or typo issues may cause your problem – mrtuvn Mar 1 '16 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.