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

[FEATURE] Allow for npm linking to local prefix #533

Closed
jgehrcke opened this issue Nov 28, 2019 · 3 comments
Closed

[FEATURE] Allow for npm linking to local prefix #533

jgehrcke opened this issue Nov 28, 2019 · 3 comments
Labels
Enhancement new feature or improvement

Comments

@jgehrcke
Copy link
Contributor

What I would like to be able to do is to install the bins defined in the package.json to the local prefix.

npm install . does not do that (related: #526).

Installing these bins seems to be usually done via npm link. npm link symlinks these bins to {prefix}/bin/{name}, where {prefix} is the global prefix. Should we add an option like --local, to change this to the local prefix?

Also see #532 (npm-link: clarify usage of global prefix)

@jgehrcke
Copy link
Contributor Author

Alternatively, what's a good current workaround for

What I would like to be able to do is to install the bins defined in the package.json to the local prefix.

?

@darcyclarke darcyclarke added the Enhancement new feature or improvement label Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

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

No branches or pull requests

3 participants