Closed msuess closed 8 years ago
This configuration was added in https://github.com/boxen/puppet-nodejs/pull/19, removed in https://github.com/boxen/puppet-nodejs/pull/48, and added again in https://github.com/boxen/puppet-nodejs/pull/56.
If we're going to change it again I think it needs to be configurable.
Isn't it already configurable in the sense that the user can add it to his or her PATH if they choose to?
@msuess I think you are right... It also makes difficult the use of globally installed packages.
what do you think @DanielWright??? I merged your PR, and I would love to hear you thoughts...
I agree with @msuess. I was wrong to readd the old behaviour in my PR; it's unexpected and difficult to disable.
@blackjid Could you tag a new release? Thanks!
Having './node_modules/.bin' on the PATH breaks react-native and causes other NPM modules to be confused as to where they are installed (ie. phantomjs). Maybe it's best to leave this decision to the user instead of having it as default. This is not really boxen-specific behaviour anyway and is not needed to run nodejs via boxen.