Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not execute paths in node_modules for bower install. #4

Merged
merged 1 commit into from
Aug 22, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Aug 22, 2014

When using the scripts section of your package.json by default it adds all binaries that are in your deps and devDeps to your path. This means that bower is available without having to specify node_modules/foo/bar/bin/bar.

Also, if npm can dedupe the requirements it will. This means that the bower that we are supposed to use may not be in this projects node_modules folder.

When using the `scripts` section of your `package.json` by default it
adds all binaries that are in your deps and devDeps to your path. This
means that `bower` is available without having to specify
`node_modules/foo/bar/bin/bar`.

Also, if npm can dedupe the requirements it will. This means that the
`bower` that we are supposed to use may *not* be in this projects
node_modules folder.
@rwjblue rwjblue mentioned this pull request Aug 22, 2014
@rwjblue
Copy link
Member Author

rwjblue commented Aug 22, 2014

@jakecraige - Would you please review and release a new version when you have confirmed?

@ghost
Copy link

ghost commented Aug 22, 2014

You are just reverting commit #728dc5. I dont think this is what the fix should look like.

@jakecraige
Copy link
Member

@tschakkkiiiii If i'm not mistaken, the difference between that commit and now is that right before that bower was added as a runtime dependency, when before it was not. I uninstalled the global bower and ran this and it works as expected.

jakecraige added a commit that referenced this pull request Aug 22, 2014
Do not execute paths in node_modules for bower install.
@jakecraige jakecraige merged commit 62f0975 into ember-cli:master Aug 22, 2014
@rwjblue rwjblue deleted the ensure-windows-works branch August 22, 2014 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants