oblador / loki

πŸ‘ Visual Regression Testing for Storybook

Home Page:https://loki.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed fetch stories after Chrome update.

HappyMarvin opened this issue Β· comments

Hi. I am trying to run a "loki test" and getting this:
"Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb."
image

Tests broke after chrome update. How can I fix this?
OS: WIN10
Chrome: 111.0.5563
Code in chromium
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/devtools/devtools_http_handler.cc;drc=bd27852621593a92e1d8410154a139fa87cc0ebc;l=626

Fixed by #443

Note: the fix hasn't been released yet

Try the workaround described here πŸ‘‡ while this gets released

Try the workaround described here πŸ‘‡ while this gets released

We are using node+npm 6.14. And we can't update it now. "Overrides" not working(

Try the workaround described here πŸ‘‡ while this gets released

Thanks for the workaround, worked for us using Node 18 and NPM 9.5.0

Have same issue as HappyMarvin w. being locked to low npm v and don't have access to npm override.
Any idea on when this fix might get merged?

Believe overrides is supported from npm v8.3