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

Add the parameter for Node.js Support #614

Open
suzuki-shunsuke opened this issue Aug 24, 2024 · 0 comments
Open

Add the parameter for Node.js Support #614

suzuki-shunsuke opened this issue Aug 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Member

To execute tools installed by npm i -g, you need to set npm's preset config and the environment variable $PATH.
This issue proposes to add the parameter to set them in this orb.

export NPM_CONFIG_PREFIX="${XDG_DATA_HOME:-$HOME/.local/share}/npm-global"
export PATH=$NPM_CONFIG_PREFIX/bin:$PATH

Of course, you can configure them without this feature, but this feature is user friendly.

Workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant