If nodejs and npm are not installed yet, we need to install them:
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
If you need to install another version, for example 13.x, just change setup_12.x with setup_13.x:
$ sudo apt install nodejs
The nodejs package contains both the node and npm binaries. Cypress be installed locally on the book project.
$ go book $ npm init -y $ npm install cypress
Once installed we run test of the min1 project which include a include a cypress tests:
$ cd book_lino/projects/min1 $ inv test