Skip to content

Fix: yarn command for installing dependencies#1077

Merged
msluszniak merged 2 commits intosoftware-mansion:mainfrom
JatinBhuva:fix/docs-yarn-command
Apr 15, 2026
Merged

Fix: yarn command for installing dependencies#1077
msluszniak merged 2 commits intosoftware-mansion:mainfrom
JatinBhuva:fix/docs-yarn-command

Conversation

@JatinBhuva
Copy link
Copy Markdown
Contributor

Summary

Fixes incorrect Yarn installation command in the documentation.

Changes

  • Replaced yarn install <package> with yarn add <package>
  • Ensured consistency with standard Yarn usage across docs

Reason

The current documentation incorrectly suggests using yarn install <package>, which does not add new dependencies. The correct command is yarn add <package>.

Impact

  • Prevents confusion for developers using Yarn
  • Aligns documentation with actual Yarn behavior

Description

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  • Build documentation locally via yarn start and check if everything is corrected.

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

Checked versioned documentation files; the issue does not exist there.

### Summary
Fixes incorrect Yarn installation command in the documentation.

### Changes
- Replaced `yarn install <package>` with `yarn add <package>`
- Ensured consistency with standard Yarn usage across docs

### Reason
The current documentation incorrectly suggests using `yarn install <package>`, which does not add new dependencies. The correct command is `yarn add <package>`.

### Impact
- Prevents confusion for developers using Yarn
- Aligns documentation with actual Yarn behavior
@JatinBhuva JatinBhuva changed the title Fix yarn command for installing dependencies Fix: yarn command for installing dependencies Apr 15, 2026
@msluszniak
Copy link
Copy Markdown
Member

msluszniak commented Apr 15, 2026

Hi, thank you for the contribution, good catch! Could you also fix the Next version of documentation the same way? Namely here:

yarn install react-native-executorch-expo-resource-fetcher
# For bare React Native projects
yarn install react-native-executorch-bare-resource-fetcher

@msluszniak msluszniak added the documentation Improvements or additions to documentation label Apr 15, 2026
@JatinBhuva
Copy link
Copy Markdown
Contributor Author

Hi, thank you for the contribution, good catch! Could you also fix the Next version of documentation the same way? Namely here:

Thanks for the quick review!
I’ve updated the Next version of the documentation as well. Please take another look.

@msluszniak msluszniak merged commit 3201565 into software-mansion:main Apr 15, 2026
3 checks passed
@msluszniak
Copy link
Copy Markdown
Member

@JatinBhuva merged 🙌🏻

@JatinBhuva
Copy link
Copy Markdown
Contributor Author

@JatinBhuva merged 🙌🏻

Thanks for merging! 🙌🏻 Happy to contribute 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants