admin 管理员组文章数量: 1086019
I'm getting this error below everytime I try to run 'npx percy exec -- node snapshots.js'.
PowerShell Terminal
Problem Image -> .png
I have followed this Tutorial ->
Anyone know how to solve this? I looked everywhere and found nothing.
Thank you in advance!
I'm getting this error below everytime I try to run 'npx percy exec -- node snapshots.js'.
PowerShell Terminal
Problem Image -> https://i.sstatic/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!
Share Improve this question asked Nov 26, 2019 at 13:11 MatheusCMatheusC 331 silver badge4 bronze badges2 Answers
Reset to default 7PowerShell has a different syntax for working with Environment Variables.
Try this:
$env:PERCY_TOKEN = "token"
Powershell Help - About Environment Variables
To set up PERCY_TOKEN on windows we have to use powershell.
1.Open powershell on windows
2. Go to project library through mands cd, cd..
3.Set the PERCY_TOKEN $env:PERCY_TOKEN='your token'
4. Then run your project using powershell through your mand npm run test:percy
本文标签: javascript(PERCY) Warning skipping visual tests PERCYTOKEN was not providedStack Overflow
版权声明:本文标题:javascript - (PERCY) Warning: skipping visual tests. PERCY_TOKEN was not provided - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1744007662a2517579.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论