Cypress with npm

Hello. What it the best way to work with Cypress on nixos which was installed with npm modules?
Here is error due to missing deps:


This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies

Please refer to the error below for more details.

----------

Command failed with ENOENT: /home/tim/.cache/Cypress/8.3.0/Cypress/Cypress --no-sandbox --smoke-test --ping=251
spawn /home/tim/.cache/Cypress/8.3.0/Cypress/Cypress ENOENT

----------

Platform: linux (NixOS - )
Cypress Version: 8.3.0
error Command failed with exit code 1.
i