Skip to content

docs: remove obsolete problem post-install hook #1077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,6 @@ If you want to use the `cypress/included` image, read [Run Cypress with a single

## Common problems

### Cannot run post-install hook

Some versions of Node.js restrict running the `postinstall` hook with the following error message:

```text
lifecycle realworld@1.0.0~postinstall: cannot run in wd realworld@1.0.0
```

In that case run install with `npm install --unsafe-perm` flag, or set an environment variable in the container

```shell
npm_config_unsafe_perm: true
```

### Blank screen in Chrome

When running headed tests with X11 forwarding in Cypress v4 you might see a blank Chrome screen. Try disabling memory sharing by setting the following environment variables:
Expand Down