Comments (11)
We're working on a fix 👍🏼 Sorry about that!
from cli.
seeing the same issue just trying to follow the instructions at https://docs.percy.io/docs/puppeteer
downgrading to beta.58 (also arbitrarily tried beta.57 and beta.40) doesn't seem to fix the issue
from cli.
Getting the same error. Please react quickly.
from cli.
@Robdel12 thanks so much!!!
from cli.
Got the same issue with nightly Cypress E2E tests, Tests are now not executing due the Percy CLI crashing with the error
percy exec -t 350 -- node scripts/cypress-ci.js "staging" "" "" "" "" "" "" "0" "**"
255 |
256 | (node:351) Error Plugin: @percy/cli: can't resolve reference /snapshot#/properties/name from id /config/static
257 | module: @oclif/[email protected]
258 | task: runHook init
259 | plugin: @percy/cli
260 | root: /codebuild/output/src235357999/src/git-codecommit.us-east-1.amazonaws.com/v1/repos/cloudranger-v2-testing/Cypress/node_modules/@percy/cli
261 | See more details with DEBUG=
262 | Error: can't resolve reference /snapshot#/properties/name from id
263 | /config/static
264 | npm ERR! code ELIFECYCLE
265 | npm ERR! errno 1
266 | npm ERR! [email protected] cypress:runCI: percy exec -t 350 -- node scripts/cypress-ci.js "staging" "***" "***" "***" "***" "***" "***" "0" "***"
267 | npm ERR! Exit status 1
from cli.
Getting a similar error - started yesterday evening. Wasn't seeing this issue with v1.0.0-beta.58
from cli.
Still getting error:
(node:22006) Error Plugin: @percy/cli: can't resolve reference /snapshot#/properties/name from id /config/static module: @oclif/[email protected]
The command how we run the tests is:
sh 'npm install --save-dev @percy/cli'
sh "LOG_LEVEL=debug npx percy exec -- mvn clean install ...
Error stack trace:
timing command:exec Completed in 606ms
22 verbose stack Error: command failed
22 verbose stack at ChildProcess.<anonymous> (/var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/npm/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:63:27)
22 verbose stack at ChildProcess.emit (node:events:327:20)
22 verbose stack at maybeClose (node:internal/child_process:1048:16)
22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
from cli.
@kostasmackevicius can you confirm you're not on beta.59
? npx percy --version
should show the version.
edit: wanted to note LOG_LEVEL
doesn't work for the CLI -- that's a Percy agent thing (we changed it, since that env var is too generic and enables debug logging for other packages). The --verbose
flag or PERCY_LOGLEVEL=debug
env var will do it
from cli.
@Robdel12 Seems we are using 52 beta version. Here is screenshot.
Question: How to update it.
Thanks in advance.
from cli.
https://www.google.com/search?q=how+to+install+specific+npm+package+version
from cli.
Thanks Gentlemens. Issue solved.
from cli.
Related Issues (20)
- Percy cli throws error when finalizing a build HOT 1
- Unable to use @percy/storybook with `--parallel` flag HOT 1
- Outdated docs for static snapshot options HOT 2
- percy snapshot should offer a dump option for debugging HOT 2
- Fonts arent showing up in percy snapshots HOT 2
- Renaming snapshots without or with visual changes (target snapshot name)
- percy/cli v1.27 incompatible with percy-cypress HOT 8
- Allow per-snapshot configuration of discovery.networkIdleTimeout HOT 2
- storybook field is no longer working in the config file HOT 1
- v.1.26.3 breaks storybook config HOT 1
- Error: Navigation failed: Timed out waiting for the page load event - breaks our tests HOT 9
- 500 Internal Server Error - GET https://registry.npmjs.org/@percy%2fcli-config - KV GET failed: 401 Unauthorized HOT 2
- Please allow longer network idle timeouts HOT 2
- Cannot read properties of undefined (reading 'id') HOT 1
- Set browser prefers-color-scheme to test apps in dark mode HOT 1
- H
- [percy:core] Error : Timed out waiting for network requests to idle HOT 1
- Percy is not running, disabling snapshot HOT 4
- Browserstack: Build not created, Error: connect ECONNREFUSED HOT 3
- Bumping to different versions [Dependabot] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.