-
Notifications
You must be signed in to change notification settings - Fork 221
Closed as not planned
Labels
Description
Description
The create lib wizard doesn't finish it triggers an error
error: unknown option '--pm'
(Did you mean --npm?)
/Users/xxxx/node_modules/create-react-native-library/lib/utils/spawn.js:27
reject(new Error(stderr.trim()));
^
Error: error: unknown option '--pm'
(Did you mean --npm?)
at ChildProcess.<anonymous> (/Users/xxxx/node_modules/create-react-native-library/lib/utils/spawn.js:27:16)
at Object.onceWrapper (node:events:634:26)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Node.js v20.17.0
Packages
- create-react-native-library
- react-native-builder-bob
Selected options
β What is the name of the npm package? β¦ react-native-awesome-library
β What is the description for the package? β¦ pee
β What is the name of package author? β¦ name
β What is the email address for the package author? β¦ [email protected]
β What is the URL for the package author? β¦ https://github.com/name
β What is the URL for the repository? β¦ https://github.com/name/react-native-awesome-library
β What type of library do you want to develop? βΊ Turbo module
β Which languages do you want to use? βΊ Kotlin & Objective-C
Environment
System:
OS: macOS 15.0
CPU: (10) x64 Apple M1 Pro
Memory: 149.13 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.17.0
path: /usr/local/bin/node
Yarn:
version: 3.6.1
path: ~/.npm-global/bin/yarn
npm:
version: 11.0.0
path: ~/.npm-global/bin/npm
Watchman:
version: 2024.12.02.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK:
API Levels:
- "21"
- "22"
- "23"
- "24"
- "25"
- "26"
- "27"
- "28"
- "29"
- "30"
- "31"
- "32"
- "33"
- "34"
- "35"
Build Tools:
- 29.0.2
- 30.0.2
- 30.0.3
- 31.0.0
- 32.0.0
- 33.0.0
- 33.0.1
- 34.0.0
- 35.0.0
- 36.0.0
System Images:
- android-23 | Google APIs ARM 64 v8a
- android-24 | Google APIs ARM 64 v8a
- android-25 | Google APIs ARM 64 v8a
- android-25 | Google APIs ARM EABI v7a
- android-25 | Google Play Intel x86 Atom
- android-28 | Google APIs ARM 64 v8a
- android-29 | Google Play ARM 64 v8a
- android-30 | Google Play ARM 64 v8a
- android-31 | Google TV ARM 64 v8a
- android-31 | Google APIs ARM 64 v8a
- android-31 | Google Play ARM 64 v8a
- android-34 | Android TV ARM 64 v8a
- android-34 | Google TV ARM 64 v8a
- android-34 | Google Play ARM 64 v8a
Android NDK: 25.1.8937393
IDEs:
Android Studio: 2023.2 AI-232.10227.8.2321.11479570
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /usr/local/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.73.4
wanted: 0.73.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found