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

Getting the host node_module/.bin folder #63

Open
erakis opened this issue Jan 11, 2017 · 0 comments
Open

Getting the host node_module/.bin folder #63

erakis opened this issue Jan 11, 2017 · 0 comments

Comments

@erakis
Copy link

erakis commented Jan 11, 2017

Hi,

Is there a better way to get the host node_module bin folder than that ?

Ex :

inherit npm npm-install

do_install() {
    NPM_BIN_FOLDER=${S}/node_modules/.bin/
}

Using a hardcoded path is not always the best thing.

I though using this command but it does not work as oe_runnpm_native is written info using bbnote:

NPM_BIN_FOLDER=$(oe_runnpm_native bin)

Best regards,

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

No branches or pull requests

1 participant