Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Plugins does not work when installed globally #607

Open
tadatuta opened this issue Dec 30, 2015 · 4 comments
Open

Plugins does not work when installed globally #607

tadatuta opened this issue Dec 30, 2015 · 4 comments
Assignees

Comments

@tadatuta
Copy link
Contributor

No description provided.

@vithar vithar self-assigned this Dec 30, 2015
@vithar
Copy link
Contributor

vithar commented Dec 30, 2015

I reproduced with node installed via brew.

brew installs node to /usr/local/Cellar/node/5.3.0.

node

console.log(require('global-modules'));
/usr/local/Cellar/node/5.3.0/lib/node_modules

But npm installs global modules to /usr/local/lib/node_modules/

@vithar
Copy link
Contributor

vithar commented Dec 30, 2015

I reinstalled node using official pkg (https://nodejs.org/dist/v5.3.0/node-v5.3.0.pkg) and problem disappeared. I think this is brew cellar bug, nothing to do here from bem-tools side.

@vithar
Copy link
Contributor

vithar commented Dec 30, 2015

@tadatuta, can you reproduce this bug in nvm environment?

@qfox
Copy link

qfox commented Dec 31, 2015

Guess it's a some kind of trouble with node paths. If you can repeat it, you definitely should try to debug it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants