You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is not really a bug.
The reason why you type hh some strange web come up, is that hh in windows is point to C:\Windows\hh.exe . C:\Windows\hh.exe is the executable file for the helper program (HTML Helper) in Windows. When you open a Help file (usually a file ending with a .chm extension) on Windows, hh.exe is used to open and display the Help content.
So it is conflict with hh of hardhat-shorthand.
How to solve this
Install hardhat hh through npm install --global hardhat-shorthand, and find it with npm list -g --depth 0 .
And change the name hh/hh.cmd to ht/ht.cmd(any name you like), or change the hh.exe of windows to other name.
Use the name [ht/ht.cmd with step 2 ].
Hope this answer will help you.
iosh
linked a pull request
Sep 14, 2024
that will
close
this issue
If you use the
hh
shorthand cli tool on Windows, it opens the HTML help app:Initially raised in this discussion: #4971
Reproduction steps
hh
shorthand based on the setup instructions of the Hardhat guide:npm install --global hardhat-shorthand
hh compile
orhh test
The text was updated successfully, but these errors were encountered: