Open MikeMcC399 opened 7 months ago
electron-builder@v26.0.0-alpha.6 mentions "feat: add AppArmor profile to FPM targets to pair with afterInstall and afterRemove template scripts" however I don't know if this would fix the issue with Cypress.
Cypress currently uses "electron-builder": "^23.6.0"
Current behavior
Executing
yarn start
as described in the CONTRIBUTING > Getting Started section results in an error message similar to the following:This is an issue only for Ubuntu
24.04
LTS (Noble Numbat) (also24.04.1
) and affecting only contributors, not end-users. Lower versions of Ubuntu do not exhibit this problem.Using the npm module cypress from the npm registry together with the Cypress binary from https://download.cypress.io is not affected.
Desired behavior
Contributors of PRs to Cypress should be able to build and run Cypress from source on Ubuntu
24.04
LTS (Noble Numbat) in order to test their contributions.yarn start
should allow starting Cypress on Ubuntu24.04
after usingyarn
to install dependencies and carry out a preliminary build.Test code to reproduce
Clean install Ubuntu
24.04.1
DesktopIn a terminal window, execute the following:
and reboot.
Continue with:
Install Python
3.11
by executing the following commands:Add the environment variable
NODE_GYP_FORCE_PYTHON
to~/.bashrc
:and execute
Clone and build Cypress with:
Cypress Version
First reported on version:
13.8.1
Reproducible also on version:13.14.1
Node version
v18.17.1
Operating System
Ubuntu
24.04
LTS (Noble Numbat),24.04.1
and Ubuntu24.10
(Oracular Oriole)Debug Logs
Other
Ubuntu 24.04 Release notes > Unprivileged user namespace restrictions describes the breaking change in security rules.
The resolution may be a documentation addition to CONTRIBUTING and / or implementation of one of the other options listed in the Ubuntu 24.04 Release notes.
Related
cc: @AtofStryker