Skip to content

Global install modules are missing require search paths #262

@drkno

Description

@drkno

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions