Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global install modules are missing require search paths #262

Open
drkno opened this issue May 7, 2017 · 0 comments
Open

Global install modules are missing require search paths #262

drkno opened this issue May 7, 2017 · 0 comments

Comments

@drkno
Copy link
Member

drkno commented May 7, 2017

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant