When running lhci healthcheck on the latest CLI version ("@lhci/cli": "0.3.10"), I get this error:
Cannot find module '@lhci/server/src/api/storage/storage-method.js'
Require stack:
- /PATH/REDACTED/node_modules/@lhci/cli/src/wizard/wizard.js
- /PATH/REDACTED/node_modules/@lhci/cli/src/cli.js
Things work fine in "@lhci/cli": "0.3.9"
I believe the issue is that #239 introduces a runtime dependency for @lhci/cli on the @lhci/server package, with no corresponding actual package.json dependency. This line specifically.
Workarounds that I can confirm are 馃憤 for me:
"@lhci/server": "0.3.10" as a dependency."@lhci/cli": "0.3.9"I'm not sure whether the right fix is to explicitly add the server dependency, or to reconfigure things so it's not necessary, but wanted to at least file the workarounds for others who might hit this.
Oof, thanks @trptcolin! We'll fix asap 馃憤
Published 0.3.11 that should fix this. Leaving this open while we figure out a test story that can test this situation better.
Wow that was quick. Thanks!
Can confirm 0.3.11 fixed my ci! thank you :)