title: Unable to spawn process on another node in Erlang
body: <p>When I try to create a new process on separate node using</p>
  
  <pre><code>Pid = spawn(mynode, mymodule, myfunction, [self()])
  </code></pre>
  
  <p>(<code>myfunction/1</code> is exported), I get this error:</p>
  
  <pre><code>Error in process &lt;0.10.0&gt; on node 'no@de1' with exit value:
  {undef,[{mymodule, myfunction, [&lt;33.64.0&gt;], []}]}
  </code></pre>
  
  <p>I tried to set <code>-compile(export_all)</code> flag, but assuming the additional braces in error log, this is not the case.
  I don't know what causes the error and I have no clue what to do.</p>