-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Problem Description
I say this with the utmost of respect as I'm sure a lot of hours have gone into development, however, as someone trying to simply get the example working following the instructions step-by-step, this was/continues to be an extremely frustrating experience.
None of the instructions on the getting started work at all. I was able to make modification based on hours of scavenging the web, and issues, etc.
After installing the dev dependencies on a clean install of windows 11 Pro we start with:
npx --yes [email protected] --react-native-version "^0.79.0" <projectName>
which yields:
I am able to get by that issue, by changing the command to be:
npx --yes [email protected] --reactNativeVersion 0.79.0 testlib --slug testlib --type turbo-module --languages kotlin-objc
I then proceed to move into the library directory and am able to run the commands up until the run-windows command, at which point I get:
I am able to get by that, by appending --singleproc to the run-windows....however, following that, I get errors saying that:
BUNDLE ./index.js
ERROR Error: Unable to resolve module testlib from C:\Users\ekappotis\testlib\example\src\App.tsx: testlib could not be found within the project or in these directories:
node_modules
..\node_modules
1 | import { Text, View, StyleSheet } from 'react-native';
2 | import { multiply } from 'testlib';
| ^
3 |
4 | const result = multiply(3, 7);
This is all using version 79 of the documentation. I have not tried to consume this from a react native for windows project because I would very much like to get the example running first. If anyone can shed more information on this or if anyone has a set of instructions that work, that would be great.
Steps To Reproduce
- start at step#1 in microsoft.github.io/react-native-windows/docs/native-platform-getting-started
Expected Results
No response
CLI version
npx --yes [email protected] --react-native-version "^0.79.0"
Environment
npx --yes [email protected] --react-native-version "^0.79.0" <projectName>Community Modules
No response
Target React Native Architecture
None
Target Platform Version
None
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response