-
Notifications
You must be signed in to change notification settings - Fork 221
Description
Description
β What is the description for the package? β¦ sd
β What is the name of package author? β¦ John Doe
β What is the email address for the package author? β¦ [email protected]
β What is the URL for the package author? β¦ https://github.com/dummyUser
β What is the URL for the repository? β¦ https://github.com/dummyUser/demo-rn-bob
β What type of library do you want to develop? βΊ Turbo module with backward compat
β Which languages do you want to use? βΊ Kotlin & Objective-C
π€ > npx create-react-native-library@latest demo-rn-bob
(node:41543) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
β What is the name of the npm package? β¦ react-native-demo-rn-bob
β What is the description for the package? β¦ asd
β What is the name of package author? β¦ John Doe
β What is the email address for the package author? β¦ [email protected]
β What is the URL for the package author? β¦ https://github.com/dummyUser
β What is the URL for the repository? β¦ https://github.com/dummyUser/react-native-demo-rn-bob
β What type of library do you want to develop? βΊ Native module
β Which languages do you want to use? βΊ Kotlin & Swift
β What type of example app do you want to create? βΊ Vanilla
β Generating example app
error: unknown option '--npm'
(Did you mean --pm?)
/Users/johndoe/.npm/_npx/e106e660d51959d2/node_modules/create-react-native-library/lib/utils/spawn.js:27
reject(new Error(stderr.trim()));
^
Error: error: unknown option '--npm'
(Did you mean --pm?)
at ChildProcess. (/Users/johndoe/.npm/_npx/e106e660d51959d2/node_modules/create-react-native-library/lib/utils/spawn.js:27:16)
at Object.onceWrapper (node:events:635:26)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Node.js v22.5.1
π€ > ```
Packages
- create-react-native-library
- react-native-builder-bob
Selected options
β What is the description for the package? β¦ sd
β What is the name of package author? β¦ John Doe
β What is the email address for the package author? β¦ [email protected]
β What is the URL for the package author? β¦ https://github.com/dummyUser
β What is the URL for the repository? β¦ https://github.com/dummyUser/demo-rn-bob
β What type of library do you want to develop? βΊ Turbo module with backward compat
β Which languages do you want to use? βΊ Kotlin & Objective-C
π€ > npx create-react-native-library@latest demo-rn-bob
(node:41543) [DEP0040] DeprecationWarning: The punycode
module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ...
to show where the warning was created)
β What is the name of the npm package? β¦ react-native-demo-rn-bob
β What is the description for the package? β¦ asd
β What is the name of package author? β¦ John Doe
β What is the email address for the package author? β¦ [email protected]
β What is the URL for the package author? β¦ https://github.com/dummyUser
β What is the URL for the repository? β¦ https://github.com/dummyUser/react-native-demo-rn-bob
β What type of library do you want to develop? βΊ Native module
β Which languages do you want to use? βΊ Kotlin & Swift
β What type of example app do you want to create? βΊ Vanilla
β Generating example app
error: unknown option '--npm'
(Did you mean --pm?)
/Users/johndoe/.npm/_npx/e106e660d51959d2/node_modules/create-react-native-library/lib/utils/spawn.js:27
reject(new Error(stderr.trim()));
^
Error: error: unknown option '--npm'
(Did you mean --pm?)
at ChildProcess. (/Users/johndoe/.npm/_npx/e106e660d51959d2/node_modules/create-react-native-library/lib/utils/spawn.js:27:16)
at Object.onceWrapper (node:events:635:26)
at ChildProcess.emit (node:events:520:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Node.js v22.5.1
π€ > ```
Link to repro
NONE
Environment
NONE