Added note about PHP out-of-memory error that can occur when running `npm run build`.
parent
f370d59915
commit
8aba6f99e0
|
@ -68,6 +68,17 @@ The source code found on GitHub does not contain compiled CSS or Javascript. To
|
||||||
npm run build
|
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:
|
To automatically rebuild the assets whenever a JS or SCSS file is modified run:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue