Skip to content
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

[BUG]: Installing the npm module relies on pre/postinstall scripts #4338

Open
sharnik opened this issue Dec 16, 2024 · 2 comments
Open

[BUG]: Installing the npm module relies on pre/postinstall scripts #4338

sharnik opened this issue Dec 16, 2024 · 2 comments
Labels

Comments

@sharnik
Copy link
Contributor

sharnik commented Dec 16, 2024

Version

6.6.4

What platforms are you having the problem on?

iOS

System Version

macOS 15.1.1

On what device are you experiencing the issue?

Simulator

Architecture

Old architecture

What happened?

When you install react-native-video on a machine that has pre/postinstall scripts disabled, as probably should be the default, your app won't build.

You can easily work around this issue, by running cd node_modules/react-native-video && yarn install && yarn build && rm -rf node_modules/ && cd ../.. when your react-native-video installation changes, but that's an inconvenience that might be easy to avoid.

Reproduction Link

repository link

Reproduction

  1. yarn add react-native-video
  2. build your app
@sharnik sharnik added the bug label Dec 16, 2024
Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.6.4, while the latest stable version is 6.8.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

@freeboub
Copy link
Collaborator

can you please clarify the error displayed ?
And provide a way to disable pre/postinstall scripts ?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants