illinois / queue

A microservice queue for holding open office hours
University of Illinois/NCSA Open Source License
82 stars 37 forks source link

Include sqlite3 as a dep to allow for easier development? #113

Closed wadefagen closed 6 years ago

wadefagen commented 6 years ago

This isn't a pretty error message for a first dev:

C:\Users\waf\Desktop\cs225\queue\node_modules\sequelize\lib\dialects\sqlite\connection-manager.js:31
        throw new Error('Please install sqlite3 package manually');
        ^

Error: Please install sqlite3 package manually
    at new ConnectionManager (C:\Users\waf\Desktop\cs225\queue\node_modules\sequelize\lib\dialects\sqlite\connection-manager.js:31:15)
    at new SqliteDialect (C:\Users\waf\Desktop\cs225\queue\node_modules\sequelize\lib\dialects\sqlite\index.js:14:30)
    at new Sequelize (C:\Users\waf\Desktop\cs225\queue\node_modules\sequelize\lib\sequelize.js:239:20)
    at Object.<anonymous> (C:\Users\waf\Desktop\cs225\queue\src\models\index.js:55:15)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (C:\Users\waf\Desktop\cs225\queue\src\middleware\authnDev.js:1:80)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (C:\Users\waf\Desktop\cs225\queue\src\app.js:39:20)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! queue-frontend@1.0.0 dev: `node src/server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the queue-frontend@1.0.0 dev 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:
npm ERR!     C:\Users\waf\AppData\Roaming\npm-cache\_logs\2018-04-25T00_42_22_923Z-debug.log