Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

remove relative node_modules .bin from PATH #63

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

msuess
Copy link

@msuess msuess commented Mar 7, 2016

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.

@eugeneius
Copy link
Contributor

This configuration was added in #19, removed in #48, and added again in #56.

If we're going to change it again I think it needs to be configurable.

@msuess
Copy link
Author

msuess commented Apr 15, 2016

Isn't it already configurable in the sense that the user can add it to his or her PATH if they choose to?

@blackjid
Copy link
Member

@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...

@DanielWright
Copy link
Contributor

I agree with @msuess. I was wrong to readd the old behaviour in my PR; it's unexpected and difficult to disable.

@blackjid blackjid merged commit 8649c78 into boxen:master Apr 20, 2016
@webflo
Copy link
Member

webflo commented May 24, 2016

@blackjid Could you tag a new release? Thanks!

@msuess msuess deleted the remove_relative_bin branch May 25, 2016 08:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants