title: Building VS Code on Raspberry Pi 4: sqlite3 issue
body: <p>I can successfully build VS Code from its github repository and instructions on a Raspberry Pi 4 running debian buster. But when I try to launch it via <code>scripts/code.sh</code> from within the <code>vscode</code> directory I run into the following error: </p>
  
  <blockquote>
    <p>Cannot find module '../build/Release/sqlite'</p>
  </blockquote>
  
  <p>yet sqlite3 was installed via npm and there is a directory <code>vscode/node_modules/vscode-sqlite3</code></p>
  
  <p>Digging into the source code under <code>vscode/node_modules/vscode-sqlite3/build/Release</code> (which is the path the error messages refers to) I noticed that it contains the following files:</p>
  
  <pre><code>drwxr-xr-x 3 mark mark    4096 Nov  3 08:52 obj
  drwxr-xr-x 5 mark mark    4096 Nov  3 08:55 obj.target
  -rw-r--r-- 1 mark mark 1380280 Nov  3 08:54 sqlite3.a
  -rw-r--r-- 1 mark mark  273270 Nov  3 08:55 sqlite.a
  </code></pre>
  
  <p>For comparisons sake I checked out <code>vscode/node_modules/nsfw/build/Release</code>, which is another module that gets built in the default build process. It contains the following files:</p>
  
  <pre><code>-rwxr-xr-x 1 mark mark 102872 Nov  3 08:52 nsfw.node
  drwxr-xr-x 3 mark mark   4096 Nov  3 08:52 obj.target
  </code></pre>
  
  <p>Offhand this suggests to me that some compilation step is being missed, so that a <code>sqlite.node</code> file is not being created (the .node files appear to be binary/library type files). But I'm not sure what step is being missed.</p>
  
  <p>The basic process I'm using to build VS Code from source is documented <a href="https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run" rel="nofollow noreferrer">here</a>. In summary, it's basically:</p>
  
  <pre><code>cd vscode
  yarn
  yarn watch
  </code></pre>
  
  <p>The first call to yarn appears to be needed to resolve dependencies (which I was assuming meant things like <code>sqlite.node</code> were being created, but obviously not).</p>