CMS Development

bengoshow
Participant | Partenaire solutions
Participant | Partenaire solutions

Cannot run `hs` from command line

Résolue

When I try to run any `hs` commands from my local terminal, I get the following results:

 

Screen Shot 2021-07-06 at 3.54.07 PM.png

 

Apparently, this is from a conflict with another tool I've installed for other projects, https-server, which also has an `hs` command: 

https://github.com/http-party/http-server/blob/db66b17e28105d4fd6d41913cd5a7cbe7ba1528f/package.json...

 

I've tried reinstalling @hubspot/cli globally and locally but no luck. Any idea how I get around this? I need to use both tools, but for different projects.

0 Votes
1 Solution acceptée
bengoshow
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Cannot run `hs` from command line

Résolue

I can still use the alternate `hscms` command, so that will work for now.

Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
bengoshow
Solution
Participant | Partenaire solutions
Participant | Partenaire solutions

Cannot run `hs` from command line

Résolue

I can still use the alternate `hscms` command, so that will work for now.

0 Votes
piersg
Conseiller clé

Cannot run `hs` from command line

Résolue

You could change the scripts in package.json?