Skip to content

The term 'percy' is not recognized as the name of a cmdlet #528

Discussion options

You must be logged in to vote

Hey @konstantinschuette!

As a temporary fix I've added npx before running the tests. Then the execution of percy commands is possible. But I guess that shouldn't be the way to go.

This is the correct way to do this. The reason you have to use npx is percy is not installed globally (so it's not in %PATH%). Using npx will look up the percy CLI binary in the local node_modules folder for you. This is pretty much doing \node_modules\.bin\percy.cmd exec -- [...]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Robdel12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #527 on July 20, 2022 12:08.