stryker-mutator / stryker-js

Mutation testing for JavaScript and friends
https://stryker-mutator.io
Apache License 2.0
2.56k stars 241 forks source link

Stryker init results in a 404 error #4698

Closed nicojs closed 5 months ago

nicojs commented 5 months ago

Summary

When running stryker init and choosing none/other results in a 404 error.

? What file type do you want for your config file? JSON
13:31:36 (11673) WARN NpmClient Could not fetch additional initialization config for dependency @stryker-mutator/jest-runner. You might need to configure it manually. Error: Path /%40stryker-mutator%2Fjest-runner@8.2.2 resulted in http status code: 404.

The fix is simple. We need to use a different URL

- https://registry.npmjs.com/%40stryker-mutator%2Fjest-runner@8.2.2
+ https://registry.npmjs.com/%40stryker-mutator%2Fjest-runner/8.2.2