Skip to content

Commit

Permalink
fix: remove postinstall step from package.json (#2081)
Browse files Browse the repository at this point in the history
## Description

This PR resolves issue with not working installation on
react-native-screens on 3.30.0. It seems that `postinstall` step is
breaking due to not finding `react-navigation` submodule.

## Changes

- Removed postinstall step from package.json

## Checklist

- [x] Ensured that CI passes
  • Loading branch information
tboba committed Mar 25, 2024
1 parent 426419c commit 48a820f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "3.30.0",
"description": "Native navigation primitives for your React Native app.",
"scripts": {
"postinstall": "git submodule update --init --recursive && (cd react-navigation && yarn)",
"check-types": "tsc --noEmit",
"start": "react-native start",
"test:unit": "jest --passWithNoTests",
Expand Down

2 comments on commit 48a820f

@twokilohertz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the fix for this until this is published on npm?

@tboba
Copy link
Member Author

@tboba tboba commented on 48a820f Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@twokilohertz If you need to use your application ASAP, you can fallback to 3.29.0, but we're planning to release the fix in about 10-20 minutes!

Please sign in to comment.