Sebastix on Nostr: npm run lfg npm run nsecbunkerd start are returning this error: ...
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
Published at
2023-12-01 21:24:34Event JSON
{
"id": "d6608435c49ee0850981289edc5a0ec6814509fd20d0cdf6f0a25f5199ea0631",
"pubkey": "06639a386c9c1014217622ccbcf40908c4f1a0c33e23f8d6d68f4abf655f8f71",
"created_at": 1701465874,
"kind": 1,
"tags": [
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"wss://nos.lol/",
"PABLOF7z"
],
[
"e",
"28a7d07aec9525a84ba69827d628e69de2495d3b1e1eb9c84b4478d2cee3e9aa",
"wss://nostr.bitcoiner.social/",
"root"
],
[
"e",
"18933e287628b55ad0363be1b83e51134f80e999beff923e7ab38f3677172c0b",
"",
"mention"
]
],
"content": "npm run lfg\nnpm run nsecbunkerd start\n\nare returning this error:\n\nnode:internal/modules/cjs/loader:1042\n throw err;\n ^\n\nError: Cannot find module 'fastify'\nRequire stack:\n- /var/www/nsecbunker.nostrver.se/dist/daemon/index.js\n at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)\n at Module._load (node:internal/modules/cjs/loader:885:27)\n at Module.require (node:internal/modules/cjs/loader:1105:19)\n at require (node:internal/modules/cjs/helpers:103:18)\n at Object.\u003canonymous\u003e (/var/www/nsecbunker.nostrver.se/dist/daemon/index.js:1021:30)\n at Module._compile (node:internal/modules/cjs/loader:1218:14)\n at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)\n at Module.load (node:internal/modules/cjs/loader:1081:32)\n at Module._load (node:internal/modules/cjs/loader:922:12)\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {\n code: 'MODULE_NOT_FOUND',\n requireStack: [ '/var/www/nsecbunker.nostrver.se/dist/daemon/index.js' ]\n}\n\n$ node -v \nv18.13.0\n\n# npm -v\n9.2.0\n\nLinux 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux",
"sig": "9d4418dde32a507487ea748bcb5ec78d20ca9418d4907e809c24e240655de5ac7bade00d9d86b45450fdb7b9a4dc5cbee947ee8f2ee841257528e52e65448edf"
}