Skip to content

Commit 2e4eb04

Browse files
Fix codegen iOS scripts paths (facebook#3359)
1 parent 4c3603b commit 2e4eb04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/the-new-architecture/pillars-codegen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ The rest of this guide assumes that you have a `Turbo Native Module` and/or a `F
4646

4747
## Running the Codegen
4848

49-
The **Codegen** for iOS relies on some Node scripts that are invoked during the build process. The scripts are located in the `MyApp/node_modules/react_native/scripts/` folder.
49+
The **Codegen** for iOS relies on some Node scripts that are invoked during the build process. The scripts are located in the `MyApp/node_modules/react-native/scripts/` folder.
5050

5151
The script that you have to run is the `generate-artifacts.js` script. This searches among all the dependencies of the app, looking for JS files that respects some specific conventions (look at [TurboModules](pillars-turbomodules) and [Fabric Components](pillars-fabric-components) sections for details), and it generates the required code.
5252

5353
To invoke the script, you can run this command from the root folder of your app:
5454

5555
```sh
56-
node node_modules/react_native/scripts/generate-artifacts.js \
56+
node node_modules/react-native/scripts/generate-artifacts.js \
5757
--path SampleApp/ \
5858
--outputPath <an/output/path> \
5959
```

0 commit comments

Comments
 (0)