3

when I run this command

static-content:deploy

then I got the below error

"PHP Fatal error: Class 'Locale' not found in /opt/lampp/htdocs/magento/magento2_1/vendor/magento/framework/Locale/Bundle/DataBundle.php".

can you please help me how to resolve the issue ?

closed as off-topic by sv3n, liyakat, Keyul Shah, brentwpeterson, Qaisar Satti Aug 8 '17 at 9:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – sv3n, liyakat, Keyul Shah, brentwpeterson, Qaisar Satti
If this question can be reworded to fit the rules in the help center, please edit the question.

5

This error occurs when you do not have php's intl extension.

For futher info. you can chk

  1. https://github.com/magento/magento2/issues/2316
  2. Run Grunt deploy task -> Fatal error: Class 'Locale' not found
  3. Error in Magento 2 when trying to deploy
2

The sollution I found was to run xampp's shell and there write the code. Otherwise, on command prompt ( Windows ) it would give me the same error.

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