diff --git a/How-to-set-up-WooCommerce-development-environment.md b/How-to-set-up-WooCommerce-development-environment.md index e8681c0..e71b7b4 100644 --- a/How-to-set-up-WooCommerce-development-environment.md +++ b/How-to-set-up-WooCommerce-development-environment.md @@ -68,6 +68,17 @@ The source code found on GitHub does not contain compiled CSS or Javascript. To npm run build ``` +_Note: Depending on your PHP settings, you may encounter an out-of-memory error similar to the following..._ + +``` +> wp i18n make-pot . --exclude=".github,.wordpress-org,bin,sample-data,node_modules,tests" --slug=woocommerce '--skip-audit' +Plugin file detected. + +Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 67108872 bytes) in /Users/exampleuser/vagrant-local/www/woocommerce-dev/public_html/wp-content/plugins/woocommerce/vendor/mck89/peast/lib/Peast/Syntax/Utils.php on line 37 +``` + +_If this happens, increase the `memory_limit` setting in your php.ini configuration file and re-run `npm run build`._ + To automatically rebuild the assets whenever a JS or SCSS file is modified run: ```