Cannot find module node-v48-linux-x64/node_sqlite3.node
See original GitHub issueRecently have an issue on my installation after a recent pull, created a new docker of ubuntu to see if it replicated on a new install.
Short problem description `root@enigmaBBS:~/enigma-bbs# ./oputil.js config new module.js:478 throw err; ^
Error: Cannot find module ‘/root/enigma-bbs/node_modules/sqlite3/lib/binding/node-v48-linux-x64/node_sqlite3.node’ at Function.Module._resolveFilename (module.js:476:15) at Function.Module._load (module.js:424:25) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object.<anonymous> (/root/enigma-bbs/node_modules/sqlite3/lib/sqlite3.js:4:15) at Module._compile (module.js:577:32) at Object.Module._extensions…js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) root@enigmaBBS:~/enigma-bbs#`
Steps to reproduce Install base Ubuntu with python, build-essential curl -o- https://raw.githubusercontent.com/NuSkooler/enigma-bbs/master/misc/install.sh | bash cd ~/enigma-bbs ./oputil.js config new
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
When you asked what version of node it clicked and i got it all addressed. The default install was using NODE 8 and nvm v0.33.7. (This is based on davestephens/enigma-bbs docker image). I killed the image and set it to NODE 10 and nvm v0.34.0 and we’re back online. Sorry about the confusion (didn’t realize that we’d have to swap the node install moving foward)
@KaiDream Awesome, don’t hesitate to ask if there are other issues!