Concierge
Concierge copied to clipboard
Global install modules are missing require search paths
Steps to reproduce:
npm install -g concierge-bot
mkdir somebot
cd somebot
concierge
...
Concierge> /restart
Expected outcome: On the first startup dependencies are installed, and on the second they are just loaded (not installed).
Actual outcome: On the second startup dependencies are installed again (and in fact are installed multiple times).
info: Installing "request@*" from npm.
info: Installation complete.
info: Installing "request@*" from npm.
info: Installation complete.
info: Installing "sanitize-filename@*" from npm.
info: Installation complete.
info: Installing "fs-extra@*" from npm.
info: Installation complete.
info: Installing "sanitize-filename@*" from npm.
info: Installation complete.
info: Installing "tmp@*" from npm.
info: Installation complete.
info: Installing "fs-extra@*" from npm.
info: Installation complete.
info: Installing "rimraf@*" from npm.
info: Installation complete.