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

Error upon running npm install on 3.30.0 #2079

Closed
Lump01 opened this issue Mar 25, 2024 · 4 comments
Closed

Error upon running npm install on 3.30.0 #2079

Lump01 opened this issue Mar 25, 2024 · 4 comments
Labels
Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided

Comments

@Lump01
Copy link

Lump01 commented Mar 25, 2024

Description

I get this after running npm install with version 3.30.0

npm ERR! code 1
npm ERR! path /Users/username/digapps/passare/passare-mobile/node_modules/react-native-screens
npm ERR! command failed
npm ERR! command sh -c git submodule update --init --recursive && (cd react-navigation && yarn)
npm ERR! sh: line 0: cd: react-navigation: No such file or directory

npm ERR! A complete log of this run can be found in: /Users/username/.npm/_logs/2024-03-25T16_15_30_292Z-debug-0.log

The following postinstall script is what is breaking this I believe:

"postinstall": "git submodule update --init --recursive && (cd react-navigation && yarn)",

It seems there was an issue with the publishing of the react-navigation branch the latest version of react-native-screens is trying to pull in.

Steps to reproduce

Run npm install with "react-native-screens": "^3.30.0"

Snack or a link to a repository

https://snack.expo.dev/FNyvGqV3DmVi3cXhmElYS

Screens version

3.30.0

React Native version

0.72.3

Platforms

Android, iOS

JavaScript runtime

None

Workflow

React Native (without Expo)

Architecture

None

Build type

None

Device

None

Device model

N/A

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided labels Mar 25, 2024
@tboba
Copy link
Member

tboba commented Mar 25, 2024

Hi @Lump01, thanks for submitting this PR. Are you certain this issue happens on 3.29.0 version? We've added the change with submodules in the 3.30.0 version.

@akeva001
Copy link

I am also unable to install any version of the package due to this issue.

@Lump01
Copy link
Author

Lump01 commented Mar 25, 2024

Apologies, it was 3.30.0. I had the version as "^3.29.0" with the caret in front of it so it was downloading 3.30.0 in the background.

@Lump01 Lump01 changed the title Error upon running npm install on 3.29.0 Error upon running npm install on 3.30.0 Mar 25, 2024
@tboba
Copy link
Member

tboba commented Mar 25, 2024

Sure, thanks for letting me know. Since this issue is already known, let's move with the discussion here.

@tboba tboba closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
@software-mansion software-mansion locked as resolved and limited conversation to collaborators Mar 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

No branches or pull requests

3 participants