<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="260187" data-post-id="260187">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="m1dnight" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/m1dnight/120/9014_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  m1dnight
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’m having the same issue for some reason.</p>
<p>I’ve tried some of the solutions above, but am not sure if they’re working.</p>
<p>I also have bcrypt as a dependency, so I verified the architecture of the file as such:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">$ file _build/dev/lib/bcrypt_elixir/priv/bcrypt_nif.so
_build/dev/lib/bcrypt_elixir/priv/bcrypt_nif.so: Mach-O 64-bit dynamically linked shared library arm64
</code></pre>
<p>So that seems to be fine.</p>
<p>I checked the architecture of my shell as well:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">$ arch
arm64
</code></pre>
<p>I’ve compiled my project on my M1 and it took 9 minutes and change. On my x86 machine it took 50 seconds and change.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="260187" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/apple-silicon-erlang-23-2-1-not-compiling-bcrypt-elixir-properly-i-think/36636/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-260187" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="260187"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #12"></div>
  </section>
</div>
    <div class="postbit" id="260211" data-post-id="260211">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="m1dnight" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/m1dnight/120/9014_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  m1dnight
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Okay I managed to get it working by simply completely reinstalling Elixir and Erlang.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">brew remove erlang
brew remove elixir 
brew cleanup
brew install elixir
</code></pre>
<p>All is well now!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="260211" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/apple-silicon-erlang-23-2-1-not-compiling-bcrypt-elixir-properly-i-think/36636/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-260211" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="260211"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #13"></div>
  </section>
</div>
    <div class="postbit" id="260264" data-post-id="260264">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="wallyfoo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wallyfoo/120/16837_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  wallyfoo
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Sometimes it’s simply faster to start over rather than troubleshoot. (Tell that to the people who forgot to keep a reliable backup when the solution was to reformat their C: drive back in the day…)</p>
<p>As an aside, while I have nothing but love for homebrew, I recommend <a href="https://asdf-vm.com" rel="noopener nofollow ugc">asdf-vm</a> to manage your Erlang/Elixir installs. It makes it trivial to support multiple version targets for various projects I’ve been working on over the years. NodeJS, too.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="260264" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/apple-silicon-erlang-23-2-1-not-compiling-bcrypt-elixir-properly-i-think/36636/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-260264" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="260264"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #14"></div>
  </section>
</div>
    <div class="postbit" id="261691" data-post-id="261691">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="mackshkatz" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mackshkatz/120/18457_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  mackshkatz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This was the trick for me as well on a new M1 Macbook Pro</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="261691" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/apple-silicon-erlang-23-2-1-not-compiling-bcrypt-elixir-properly-i-think/36636/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-261691" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="261691"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>