nearform/autocannon-ui

๐Ÿšจ "npx autocannon-ui" broken

Closed this issue ยท 1 comments

First of all, thanks for providing such a nice tool which makes it easy to running load tests .

I had been trying to run autocannon-ui using "npx autocannon-ui" command but it always failed with error shown below:

npx_error

Before posting this issue, I tried searching for similar issue and found this issue.

It was supposed to be fixed in version 2.1.2 so I tried running with version 2.1.2 but faced same isssue.
image

I was only able to run it with version 2.0.8. All versions afterward are broken.

After some investigation, I found that infact one of line change from fix pr of this issue is causing the current issue.

If I revert this one line change after running npx autocannon-ui, it starts working fine as shown below:

image

I also found that running npx autocannon-ui in repo directy will create a shortcut and it wont fail but installing directly from npm will reproduce the issue. So, validting the fix from repo directly will not reproduce the issue.

Fix PR: #1076

๐ŸŽ‰ This issue has been resolved in version 2.2.0 ๐ŸŽ‰

The release is available on:

Your optic bot ๐Ÿ“ฆ๐Ÿš€