-
Notifications
You must be signed in to change notification settings - Fork 51
npm packages not being installed globally #174
Comments
thanks for your bug report. Could you please tell me which version of this module you're using? |
Hi there, Of course. Version 2.0.0 |
@spengilley you're right, I managed to reproduce this behavior and hope that I'll find some time next week :-) |
I just managed to research a little bit: it seems as no I'll try to reserve some time to fix this next week, however a temporary workaround for you would be to create an npm set prefix /usr/local -g |
Thanks for the information and the work around! |
@spengilley I created a bugfix in #175. Would be cool if you could test the changes locally in order to confirm that the patch works? :-) |
Hi @Ma27 I can confirm that this worked wonderfully. I appreciate such a quick turn around. Stephen |
patch landed in https://github.com/willdurand/puppet-nodejs/releases/tag/2.0.0-alpha3 thanks for reporting and for the feedback! |
Description
When I run a puppet module which installs nodes and then uses the new package nom provider to install grunt, bower and protractor, I am unable to use any of thee programs by typing their name on the command line
Steps to reproduce
Type
Receive
Expected behavior
I expect grunt, bower and protractor to be recognised on the command line
Further details
On Debian/contrib-jessie64. Using Puppet version 3.78
I can see during the puppet run the following in the output
I can also see that grunt is installed in the following places
The text was updated successfully, but these errors were encountered: