Skip to content

Conversation

riteshshukla04
Copy link
Contributor

@riteshshukla04 riteshshukla04 commented Oct 1, 2025

Summary

Nitro-codegen is renamed to nitrogen .
This fixes below issue
image

Test plan

N/A


Note

In the template package.json, switch devDependency from nitro-codegen to nitrogen and remove the nitrogen script.

  • Templates:
    • packages/create-react-native-library/templates/common/$package.json:
      • Dev dependency: replace nitro-codegen with nitrogen when nitro-modules/nitro-view is selected.
      • Scripts: remove "nitrogen": "nitro-codegen" entry.

Written by Cursor Bugbot for commit 7c96b49. This will update automatically on new commits. Configure here.

@riteshshukla04 riteshshukla04 changed the title Update $package.json Rename nitro-codegen to nitrogen Oct 1, 2025
@riteshshukla04 riteshshukla04 changed the title Rename nitro-codegen to nitrogen chore: Rename nitro-codegen to nitrogen Oct 1, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Bug: Missing Script Reference Causes Build Failures

The nitrogen script was removed from package.json, but react-native-builder-bob's configuration still references it. This causes build failures for nitro-modules and nitro-view projects when builder-bob attempts to execute the missing script.

packages/create-react-native-library/templates/common/$package.json#L49-L53

<% } -%>
"prepare": "bob build",
"release": "release-it --only-version"
},
"keywords": [

Fix in Cursor Fix in Web


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

Successfully merging this pull request may close these issues.

1 participant