title: Creating a Electron project with Angular and Knex
body: <p>Im having problems.</p>
  
  <p>I am trying to create a <a href="https://electronjs.org/" rel="nofollow noreferrer">Electron</a> with <a href="https://angular.io/" rel="nofollow noreferrer">Angular</a> as well as <a href="https://knexjs.org/" rel="nofollow noreferrer">Knex</a> for storage using sqlite3.</p>
  
  <p>I used <a href="https://github.com/maximegris/angular-electron" rel="nofollow noreferrer">angular-electron</a> and then tried to add a service to angular which would manage the database.</p>
  
  <p>I tried to follow Knex documentation but every time i try to run it i get this error:</p>
  
  <pre><code>Module not found: Error: Can't resolve 'aws-sdk' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\node-pre-gyp\lib'
  ERROR in ./node_modules/knex/lib/dialects/mssql/index.js
  Module not found: Error: Can't resolve 'mssql' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mssql'
  ERROR in ./node_modules/knex/lib/dialects/mssql/index.js
  Module not found: Error: Can't resolve 'mssql/lib/base' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mssql'
  ERROR in ./node_modules/knex/lib/dialects/mssql/index.js
  Module not found: Error: Can't resolve 'mssql/package.json' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mssql'
  ERROR in ./node_modules/knex/lib/dialects/mysql/index.js
  Module not found: Error: Can't resolve 'mysql' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mysql'
  ERROR in ./node_modules/knex/lib/dialects/mysql2/index.js
  Module not found: Error: Can't resolve 'mysql2' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mysql2'
  ERROR in ./node_modules/knex/lib/dialects/oracle/index.js
  Module not found: Error: Can't resolve 'oracle' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\oracle'
  ERROR in ./node_modules/knex/lib/dialects/oracledb/index.js
  Module not found: Error: Can't resolve 'oracledb' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\oracledb'
  ERROR in ./node_modules/knex/lib/dialects/postgres/index.js
  Module not found: Error: Can't resolve 'pg' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\postgres'
  ERROR in ./node_modules/knex/lib/dialects/redshift/index.js
  Module not found: Error: Can't resolve 'pg' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\redshift'
  ERROR in ./node_modules/knex/lib/dialects/postgres/index.js
  Module not found: Error: Can't resolve 'pg-query-stream' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\postgres'
  ERROR in ./node_modules/knex/lib/dialects/mssql/index.js
  Module not found: Error: Can't resolve 'tedious' in 'D:\Projects\IonicProjects\testing\angular-electron\node_modules\knex\lib\dialects\mssql'
  </code></pre>
  
  <p>Could some one point me in the right direction? I have no problem creating a Electron app with Angular for the UI. In other words a Angular app packaged as a desktop app using Electron, but I need a storage solution and would like to use Sqlite3 but have not found any pre-made templates for a project such as this and would like your help.</p>