-
I've installed Percy CLI via I'm trying to run This firstly prompts me to install the additional
Any time I subsequently run the command it errors out with:
If I add
And if I add
This doesn't match the usage description in the docs. Where have I gone wrong here? It's like I've got an... old version, or something?? How do I get a version that matches the docs? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @ekinoben! When you get this message:
Where are you running |
Beta Was this translation helpful? Give feedback.
Hey @ekinoben! When you get this message:
npx
is going out to the registry to install a package namedpercy
because it didn't find an executable in thenode_modules
folder with a matching name. Thepercy
package is the old@percy/agent
package that we can't deprecate/change yet since lots of people rely on that still.Where are you running
npx percy snapshot urls.yml --dry-run
? Is it the same directory@percy/cli
was installed in? What happens if you run./node_modules/.bin/percy snapshot urls.yml --dry-run
?