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

Command hs conflicts with another common npm package #550

Open
aminimalanimal opened this issue Sep 8, 2021 · 1 comment
Open

Command hs conflicts with another common npm package #550

aminimalanimal opened this issue Sep 8, 2021 · 1 comment
Assignees

Comments

@aminimalanimal
Copy link

Description and Context

When trying to follow along with the tutorials, the hs init command wasn’t working for me. It turns out that the hs command was already globally taken by http-server.

I make it a point not to install global npm scripts generally, but both @hubspot/cli and http-server are the sorts of packages that could make sense to have together in the global namespace.

http-server has actually already implemented a change to remove the hs alias from their script by default, so upgrading it and reinstalling @hubspot/cli sufficed. However, I think that hubspot should be aware of this possibility and also adopt the approach of using a longer, more unique, less-likely-to-conflict namespace (like hubspot) and allow end-users to alias it with shorter commands if desired.

Cleary a change like that will need to happen over multiple versions of the package. In the meantime, I do suggest aliasing hubspot so that it can be used instead in instances of conflict.

@brandenrodgers brandenrodgers self-assigned this Nov 19, 2021
@brandenrodgers
Copy link
Contributor

Thanks for reporting this! I think supporting hubspot as an alternate option is a great place to start 👍

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

2 participants