X-Press Publishing Cannot Find SQLite3 Module

Working on X-Press Publishing Capstone Project and I’m hitting a snag:

internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module ‘sqlite3’
code: ‘MODULE_NOT_FOUND’,

I have uninstalled and reinstalled sqlite3, it exists in my package-lock.json, so I’m not sure where to look next to resolve this.
Full error code below.

x-press-publishing@1.0.0 test
mocha

internal/modules/cjs/loader.js:883
throw err;
^

Error: Cannot find module ‘sqlite3’
Require stack:

  • /Users/xx/Desktop/capstone-project-1-x-press-publishing/test/seed.js
  • /Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/lib/mocha.js
  • /Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/index.js
  • /Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/bin/_mocha
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object. (/Users/xx/Desktop/capstone-project-1-x-press-publishing/test/seed.js:1:17)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at /Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/lib/mocha.js:231:27
    at Array.forEach ()
    at Mocha.loadFiles (/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/lib/mocha.js:228:14)
    at Mocha.run (/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/lib/mocha.js:514:10)
    at Object. (/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/bin/_mocha:480:18)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47 {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘/Users/xx/Desktop/capstone-project-1-x-press-publishing/test/seed.js’,
    ‘/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/lib/mocha.js’,
    ‘/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/index.js’,
    ‘/Users/xx/Desktop/capstone-project-1-x-press-publishing/node_modules/mocha/bin/_mocha’
    ]
    }
    xx@xxMacbook capstone-project-1-x-press-publishing %