在NixOS中有人使用https://www.cypress.io测试Web应用程序上的UI吗? 我在新安装的nixos上运行它时遇到麻烦。 这是一个安装二进制文件的npm软件包。安装过程顺利,但致电 $(npm bin)/柏树打开 失败。
$ 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
在这里表示部门: https://on.cypress.io/required-dependencies apt-get install xvfb libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 我无法将其中许多内容与https://nixos.org/nixos/packages.html
中已发布的软件包进行匹配将我的机器检测为Raspbian奇怪吗?