Oddbean new post about | logout
 npm run lfg
npm run nsecbunkerd start

are returning this error:

node:internal/modules/cjs/loader:1042
  throw err;
  ^

Error: Cannot find module 'fastify'
Require stack:
- /var/www/nsecbunker.nostrver.se/dist/daemon/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Module._load (node:internal/modules/cjs/loader:885:27)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/var/www/nsecbunker.nostrver.se/dist/daemon/index.js:1021:30)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/var/www/nsecbunker.nostrver.se/dist/daemon/index.js' ]
}

$ node -v 
v18.13.0

# npm -v
9.2.0

Linux  6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux