Git Product home page Git Product logo

Comments (11)

Robdel12 avatar Robdel12 commented on May 25, 2024 8

We're working on a fix 👍🏼 Sorry about that!

from cli.

oshi97 avatar oshi97 commented on May 25, 2024 2

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.

kostasmackevicius avatar kostasmackevicius commented on May 25, 2024 1

Getting the same error. Please react quickly.

from cli.

andyasberry avatar andyasberry commented on May 25, 2024 1

@Robdel12 thanks so much!!!

from cli.

atmullan avatar atmullan commented on May 25, 2024

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.

andyasberry avatar andyasberry commented on May 25, 2024

Getting a similar error - started yesterday evening. Wasn't seeing this issue with v1.0.0-beta.58

from cli.

kostasmackevicius avatar kostasmackevicius commented on May 25, 2024

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.

Robdel12 avatar Robdel12 commented on May 25, 2024

@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.

kostasmackevicius avatar kostasmackevicius commented on May 25, 2024

@Robdel12 Seems we are using 52 beta version. Here is screenshot.
Screen Shot 2021-07-23 at 16 12 31

Question: How to update it.
Thanks in advance.

from cli.

oshi97 avatar oshi97 commented on May 25, 2024

https://www.google.com/search?q=how+to+install+specific+npm+package+version

from cli.

kostasmackevicius avatar kostasmackevicius commented on May 25, 2024

Thanks Gentlemens. Issue solved.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.