title: How to make MSSQL connection using Node.js in vue.js frontend?
body: <p>I need to connect Vue.js app to the remote MSSQL server.</p>
  
  <p>I am using node.js, <a href="https://www.npmjs.com/package/mssql" rel="nofollow noreferrer">mssql library</a>.</p>
  
  <p>After setting up I get error.</p>
  
  <p>How to make configuration settings in order to connect to mssql?
  How to solve issues related to installation of libraries?</p>
  
  <pre><code>    ERROR  Failed to compile with 5 errors                                                        1:39:06 PM
  
      These dependencies were not found:
  
      * dgram in ./node_modules/native-dns-cache/lookup.js, ./node_modules/native-dns/lib/server.js and 2 others
      * fs in ./node_modules/native-dns/lib/platform.js
  
      To install them, you can run: npm install --save dgram fs
  </code></pre>
  
  <p><strong>package.json</strong> dependencies:</p>
  
  <pre><code>  ...
    },
    "dependencies": {
      "dgram": "^1.0.1",
      "dns": "^0.2.2",
      "firebase": "^4.10.0",
      "fs": "0.0.1-security",
      "highcharts": "^6.0.7",
      "mssql": "^4.1.0",
      "net": "^1.0.2",
      "tls": "0.0.1",
      "vue": "^2.5.3",
      "vue-highcharts": "0.0.10",
      "vue-router": "^3.0.1",
      "vuetify": "^0.17.7",
      "vuex": "^3.0.1"
    }, ...
  </code></pre>