title: npm ERR! missing script: build;
body: <p><a href="https://i.stack.imgur.com/el7zM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/el7zM.jpg" alt="enter image description here" /></a></p>
  <p>npm ERR! missing script: build; I’ve found it weird, what causes this issue?</p>
  <p>Any ideas? I have added the fullstack error including the <code>package.json</code>. please also check the <code>build.sh</code> code below</p>
  <h3>Fullstack error</h3>
  <pre><code>&gt; eslint --quiet ./simple/js/*.js
  
  npm ERR! missing script: build;
  npm ERR!
  npm ERR! Did you mean this?
  npm ERR!     build
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\jgulle\AppData\Roaming\npm-cache\_logs\2020-08-18T08_34_05_215Z-debug.log
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! encrypt-decrypt-demo@1.0.3 start: `npm run lint &amp;&amp; (npm run build; cd server; npm install; node 
  server.js)`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the encrypt-decrypt-demo@1.0.3 start script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.       
  
  npm ERR! A complete log of this run can be found in:
  </code></pre>
  <h3>Package.json</h3>
  <pre><code>{
    &quot;name&quot;: &quot;encrypt-decrypt-demo&quot;,
    &quot;version&quot;: &quot;1.0.3&quot;,
    &quot;description&quot;: &quot;Simple example to encrypt and decrypt files in the TDF spec using Virtru hosted KAS and EAS.&quot;,
    &quot;scripts&quot;: {
      &quot;build&quot;: &quot;.simple/scripts/build.sh&quot;,
      &quot;lint&quot;: &quot;eslint --quiet ./simple/js/*.js&quot;,
      &quot;start&quot;: &quot;npm run lint &amp;&amp; (npm run build; cd server; npm install; node server.js)&quot;,
      &quot;watch&quot;: &quot;nodemon --watch ./simple/js --ignore ./simple/js/build --exec 'npm run start'&quot;,
      &quot;audit&quot;: &quot;audit-ci --config .audit-ci.json&quot;
    },
    &quot;dependencies&quot;: {
      &quot;browserify&quot;: &quot;16.2.3&quot;,
      &quot;moment&quot;: &quot;2.24.0&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;audit-ci&quot;: &quot;^2.3.0&quot;,
      &quot;eslint&quot;: &quot;^6.2.1&quot;,
      &quot;eslint-config-airbnb-base&quot;: &quot;^14.0.0&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.18.2&quot;,
      &quot;nodemon&quot;: &quot;^1.19.1&quot;,
      &quot;webpack-cli&quot;: &quot;^3.3.6&quot;
    }
  }
  </code></pre>
  <h3>build.sh code</h3>
  <pre><code>cleanup(){
      if [ -f ./simple/js/build/demo-utils.js ]; then 
          rm ./simple/js/build/demo-utils.js; 
      fi
  }
  
  build(){
      browserify ./simple/js/browserify.js -o ./simple/js/build/demo-utils.js
  }
  
  cleanup &amp;&amp; build
  </code></pre>