react-native-builder-bob
react-native-builder-bob copied to clipboard
error Invalid Version: latest
Description
/Users/user/.npm/_npx/7655a6858458ff34/node_modules/create-react-native-library/lib/utils/spawn.js:27 reject(new Error(stderr.trim())); ^
Error: error Invalid Version: latest.
at ChildProcess.
Node.js v18.20.4
Packages
- [X] create-react-native-library
- [ ] react-native-builder-bob
Selected options
❯ npx create-react-native-library@latest react-native-awesome-library ❯ Native module -> Kotlin & Objective-C -> Vanilla
Link to repro
no
Environment
❯ Node.js v18.20.4 ❯ npx --version ❯ 10.7.0 ❯ Mac 15.0.1
I am having the same issue as well doing C++ turbo module vanilla
I think there is a problem in the latest version, if I run this command (which uses the prev release) it works
npx [email protected] awesome-library
I am having the same issue
This is help for me https://stackoverflow.com/questions/79073524/react-native-library-command-not-creating-library
Hey folks we've published [email protected] just recently. Could you try again and let me know? Closing the issue for now, please ping me if you still have the same problem.
it was not working
it was not working
change npm registry to https://registry.npmmirror.com/ and try again, its work for me
This is help for me https://stackoverflow.com/questions/79073524/react-native-library-command-not-creating-library
It is work for me to add '--reactNativeVersion 0.77.0' params.
npx create-react-native-library@latest libname --reactNativeVersion 0.77.0
Having the same issue when using codegenNativeCommands cc @satya164
You can try clearing npx cache, e.g. npx clear-npx-cache