Skip to content
Advertisement

(PERCY) Warning: skipping visual tests. PERCY_TOKEN was not provided

I’m getting this error below everytime I try to run ‘npx percy exec — node snapshots.js’.

PowerShell Terminal

Problem Image -> https://i.stack.imgur.com/XCSj6.png

I have followed this Tutorial -> https://docs.percy.io/docs/percyscript-tutorial

Anyone know how to solve this? I looked everywhere and found nothing.

Thank you in advance!

Advertisement

Answer

PowerShell has a different syntax for working with Environment Variables.

Try this:

$env:PERCY_TOKEN = "token"

Powershell Help – About Environment Variables

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement