This commit is contained in:
bestlong
2022-10-23 06:58:47 +00:00
parent 91791a8f79
commit 6819f09d4b
2 changed files with 4 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://packagist.phpcomposer.com
</code></pre><p><br></p><h2 id=i-got-module-build-failed-error-write-epipe-while-compiling-react-application>I got (Module build failed: Error: write EPIPE) while compiling react application</h2><p>When you run <code>npm build</code> or <code>yarn dev</code> building a react application using webpack with elixir you may receive an <code>Error: write EPIPE</code> while processing .jpg images.</p><p>This is caused of an outdated library for processing <strong>.jpg files</strong> in ubuntu 16.04.</p><p>To fix the problem you can follow those steps</p><p>1 - Open the <code>.env</code>.</p><p>2 - Search for <code>WORKSPACE_INSTALL_LIBPNG</code> or add the key, if missing.</p><p>3 - Set the value to true:</p><pre><code class=language-dotenv>WORKSPACE_INSTALL_LIBPNG=true
</code></pre><p>4 - Finally rebuild the workspace image</p><pre><code class=language-bash>docker-compose build workspace
</code></pre><h2 id=apache2-container-won-t-start-on-mac-m1>Apache2 container won&rsquo;t start on mac m1</h2><p>To fix the problem you can follow those steps</p><p>1 - Open the <code>.env</code>.</p><p>2 - Search for <code>APACHE_FOR_MAC_M1</code> or add the key, if missing.</p><p>3 - Set the value to true:</p><pre><code class=language-dotenv>APACHE_FOR_MAC_M1=true
</code></pre><p>4 - Finally rebuild the workspace image</p><pre><code class=language-bash>docker-compose build apache2
</code></pre><aside class=copyright role=note><br><br>Documentation built with
<a href=https://www.gohugo.io target=_blank>Hugo</a>
using the

File diff suppressed because one or more lines are too long