Concierge icon indicating copy to clipboard operation
Concierge copied to clipboard

Global install modules are missing require search paths

Open drkno opened this issue 8 years ago • 0 comments

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.

drkno avatar May 07 '17 03:05 drkno