Skip to content

Add the parameter for Node.js Support #614

@suzuki-shunsuke

Description

@suzuki-shunsuke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions