Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cypress: 3.4.0 -> 3.4.1 #67250

Merged
merged 1 commit into from Aug 22, 2019
Merged

cypress: 3.4.0 -> 3.4.1 #67250

merged 1 commit into from Aug 22, 2019

Conversation

mmahut
Copy link
Member

@mmahut mmahut commented Aug 22, 2019

Motivation for this change

cypress: 3.4.0 -> 3.4.1

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@gomain
Copy link
Contributor

gomain commented Sep 29, 2019

Cypress fails to run giving verification error:

[joe@nixos:~/my-package]$ DEBUG=cypress:* CYPRESS_RUN_BINARY=`which Cypress` $(npm bin)/cypress verify
  cypress:cli cli starts with arguments ["/nix/store/zzszyrlq30ihglwr8i5d6h4j6fsf180f-nodejs-10.16.3/bin/node","/home/joe/intro-to-web-dev-v2/AJAX/node_modules/.bin/cypress","verify"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli program parsing arguments +6ms
  cypress:cli parsed cli options {} +2ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli checking environment variables +1ms
  cypress:cli Using CYPRESS_RUN_BINARY from environment variable +71ms
  cypress:cli Using CYPRESS_RUN_BINARY from environment variable +0ms
  cypress:cli CYPRESS_RUN_BINARY exists, = /home/joe/.nix-profile/bin/Cypress +1ms
Note: You have set the environment variable:

CYPRESS_RUN_BINARY=/home/joe/.nix-profile/bin/Cypress

This overrides the default Cypress binary path used.

  cypress:cli CYPRESS_RUN_BINARY is executable? : true +12ms
  cypress:cli CYPRESS_RUN_BINARY has realpath: /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin/Cypress +0ms
  cypress:cli CYPRESS_RUN_BINARY has binaryDir: /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin +11ms
  cypress:cli checking if executable exists /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin/Cypress +1ms
  cypress:cli Binary is executable? : true +1ms
  cypress:cli binaryDir is  /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin +0ms
  cypress:cli Reading binary package.json from: /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin/resources/app/package.json +3ms
  cypress:cli no Cypress binary found for cli version  3.4.1 +2ms
No version of Cypress is installed in: /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin

Please reinstall Cypress by running: cypress install

----------


Cannot read binary version from: /nix/store/vrc808bqy220szgrl6j7f6wwwbb2vawx-cypress-3.4.1/bin/resources/app/package.json

----------

Platform: linux (Raspbian - 19.03.173522.021d733ea3f)
Cypress Version: 3.4.1

@gomain
Copy link
Contributor

gomain commented Sep 29, 2019

#69962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants