lukejpreston / xunit-viewer

View your xunit results using JavaScript
MIT License
188 stars 43 forks source link

xunit-viewer --version outputs "unknown" #141

Open Glen-Tigera opened 1 year ago

Glen-Tigera commented 1 year ago

Raise any issues using GitHub and provide sample data where possible.

I had ran the following in a terminal:

$ npm i -g xunit-viewer
$ xunit-viewer --version true
unknown

but this was working:

$ npm view xunit-viewer version
10.3.0

To help debug any issues please provide the following info

If you have issue migrating from Junit Viewer or older version of Xunit Viewer please feel free to raise an issue titled MIGRATION HELP

There is a v5 branch which maintained through Open Source PRs, this branch will not maintain npm audit issues

lukejpreston commented 10 months ago

When I run the code it seems to work for me

xunit-viewer --version
10.5.0

Could you list the version of node, npm, and what OS you are running?

RoryDoherty commented 6 months ago

Also seeing this issue:

  npm: '8.19.4'
  node: '16.20.2'

OS is ubuntu

npm view xunit-viewer version
10.5.1
xunit-viewer --version
unknown