title: Why installing Semantic UI via npm misses jQuery & throws an reference error to it?
body: <p>Hy,</p>
  
  <p>I'm trying to install the CSS-Framework "Semantic UI" on a Windows 10 PC with npm from node.js.</p>
  
  <p>I've followed the <a href="http://semantic-ui.com/introduction/getting-started.html" rel="noreferrer">official install-instructions</a> carefully.</p>
  
  <ol>
  <li>I've installed successful node.js (v4.0.0) with the <a href="https://nodejs.org/en/" rel="noreferrer">official Windows Installer</a>.</li>
  <li>Typed in Windows cmd <code>npm install -g gulp</code> to install <a href="http://gulpjs.com/" rel="noreferrer">gulp</a> (npm v2.14.2).
  
  <ul>
  <li>First time I've got an error <code>ECONNRESET</code>, which I <a href="https://stackoverflow.com/questions/18419144/npm-not-working-read-econnreset">could solve</a>. So gulp was successful installed globally.</li>
  </ul></li>
  <li><p>At least I've tried several times to install Semantic UI with this code:</p>
  
  <p><code>npm install semantic-ui --save
  cd semantic
  gulp build
  </code><br>
  Which does work halfway - <a href="https://stackoverflow.com/questions/32212651/warn-peerdependencies-while-installing-semantic-ui">WARN peerdependencies</a> &amp; the missing dependency package <strong>jQuery</strong> was the result. But I'm still able to build my fresh installed default Semantic UI Framework with <code>gulp build</code>.</p></li>
  </ol>
  
  <p>I said <em>it works halfway</em> on my Windows 10 System, but also when I try to call my local file copy of the default template <a href="http://semantic-ui.com/examples/fixed.html" rel="noreferrer">Fixed Menu</a> I get in the google chrome developer tools following error:</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: jQuery is not defined / semantic.min.js:11</p>
  </blockquote>
  
  <p>Okay, it's just a unknown reference, but that pointed me to the missing jQuery package. After googling for it I've found a npm package <a href="https://www.npmjs.com/package/npm-install-missing" rel="noreferrer">npm-install-missing</a> (best result for my predicament) and try it out in my project folder - nothing happend, because there is no <strong>package.json</strong> dependency-file.</p>
  
  <p>So I went deeper in my given project structure by npm <em>"project folder\node_modules\semantic_ui</em> and ran it again. The result was a complete package update of every package in the <em>node_modules</em>-folder with enclosed <strong>jQuery</strong> package and some more: <em>github, gulp-concat-filenames, gulp-debug, gulp-git, gulp-json-editor, gulp-prompt, gulp-tap, merge-stream, mkdirp and wrench</em>. So 11 packages were missed due to the dependencies of Semantic UI.</p>
  
  <p>But the <strong>jQuery ReferenceError</strong> is still available. When you try google chromes developer tools on the official <a href="http://semantic-ui.com/" rel="noreferrer">semantic-ui.com/</a>, which is build with it's own framework, so you couldn't get any errors, although they put the <em>semantic.min.js</em> file in the same default directory-structure <em>dist/semantic.min.js</em>. Okay, my path has just one directory in front of: <em>semantic/dist/semantic.min.js</em> - but this is, how it's done in the official documentation.</p>
  
  <p>Hopefully someone can help me to get this framework fully alive. :)</p>
  
  <p>Thanks,<br>
  Robert</p>