CMS Development

bengoshow
参加者 | Solutions Partner
参加者 | Solutions Partner

Cannot run `hs` from command line

解決

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 いいね!
1件の承認済みベストアンサー
bengoshow
解決策
参加者 | Solutions Partner
参加者 | Solutions Partner

Cannot run `hs` from command line

解決

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

元の投稿で解決策を見る

0 いいね!
2件の返信
bengoshow
解決策
参加者 | Solutions Partner
参加者 | Solutions Partner

Cannot run `hs` from command line

解決

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

0 いいね!
piersg
キーアドバイザー

Cannot run `hs` from command line

解決

You could change the scripts in package.json?