Кто-нибудь в NixOS использует https://www.cypress.io для тестирования пользовательского интерфейса в веб-приложениях?У меня проблемы с запуском моего недавно установленного nixos.Это пакет npm, который устанавливает двоичный файл.Установка проходит гладко, но вызов $ (npm bin) / cypress open завершается неудачей.
$ DEBUG=cypress:* $(npm bin)/cypress open
cypress:cli cli starts with arguments ["/nix/store/k07vwr4l3w0l2p8z385ziwfjryxcag4k-nodejs-11.7.0/bin/node","/home/acyuta/code/sbsc-crm/spec/ui/node_modules/.bin/cypress","open"] +0ms
cypress:cli NODE_OPTIONS is not set +0ms
cypress:cli program parsing arguments +2ms
cypress:cli opening Cypress +0ms
cypress:cli parsed cli options {} +56ms
cypress:cli opening from options {"project":"/home/acyuta/code/sbsc-crm/spec/ui"} +0ms
cypress:cli command line arguments ["--project","/home/acyuta/code/sbsc-crm/spec/ui"] +1ms
cypress:cli verifying Cypress app +0ms
cypress:cli checking environment variables +0ms
cypress:cli checking if executable exists /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress +2ms
cypress:cli Binary is executable? : true +2ms
cypress:cli binaryDir is /home/acyuta/.cache/Cypress/3.1.5/Cypress +0ms
cypress:cli Reading binary package.json from: /home/acyuta/.cache/Cypress/3.1.5/Cypress/resources/app/package.json +0ms
cypress:cli Found binary version 3.1.5 installed in: /home/acyuta/.cache/Cypress/3.1.5/Cypress +2ms
cypress:cli could not read binary_state.json file +3ms
cypress:cli {} +0ms
cypress:cli is Verified ? undefined +1ms
cypress:cli running binary verification check 3.1.5 +1ms
It looks like this is your first time using Cypress: 3.1.5
cypress:cli clearing out the verified version +2ms
cypress:cli running smoke test +1ms
cypress:cli using Cypress executable /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress +0ms
cypress:cli needs XVFB? false +1ms
cypress:cli smoke test command: /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress --smoke-test --ping=106 +0ms
cypress:cli Smoke test failed: { Error: spawn /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:421:16)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress',
path: '/home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress',
spawnargs: [ '--smoke-test', '--ping=106' ],
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd:
'/home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress --smoke-test --ping=106',
timedOut: false,
killed: false } +9ms
✖ Verifying Cypress can run /home/acyuta/.cache/Cypress/3.1.5/Cypress
→ Cypress Version: 3.1.5
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
----------
spawn /home/acyuta/.cache/Cypress/3.1.5/Cypress/Cypress ENOENT
----------
Platform: linux (Raspbian - 19.03pre169108.36f31600749)
Cypress Version: 3.1.5
Здесь выражены deps: https://on.cypress.io/required-dependencies apt-get install xvfb libgtk2.0-0 libnotify-devlibgconf-2-4 libnss3 libxss1 libasound2 Я не могу сопоставить многие из них с опубликованными пакетами в https://nixos.org/nixos/packages.html
Не странно ли, что он обнаруживает мою машину как Raspbian?