question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native new-module

See original GitHub issue

Dev setup:

  • react-native-create-bridge version:
  • react-native version:

I am using create-bridge in a:

  • standalone library
  • existing React Native project

What you did:

after installing this with yarn, I tried to execute the command: react-native new-module, but the command is nonexistent.

What happened:

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:23

github_iconTop GitHub Comments

11reactions
markrickertcommented, Feb 14, 2021

I ran into this as well. Here’s how I fixed it

  1. Apply @novseje’s code change in ./node_modules/react-native-create-bridge/build/index.js so that the file will run when you call it (don’t bother renaming it).
  2. run node ./node_modules/react-native-create-bridge/build/index.js
  3. It works!
5reactions
numandev1commented, Jul 28, 2020

make react-native project by react-native init projectname. then you can run this command at the root of new project

Read more comments on GitHub >

github_iconTop Results From Across the Web

Native Modules NPM Package Setup
The New Architecture uses Turbo Native Module and Fabric Native Components to achieve similar results. Native modules are usually distributed as ...
Read more >
Creating a Native Module in React Native | Wix Engineering
What's a Native Module? A native module is a set of javascript functions that are implemented natively for each platform (in our case...
Read more >
create-react-native-module - npm
Tool to create a React Native library module or view module with a single command. Latest version: 0.20.2, last published: a year ago....
Read more >
brodybits/create-react-native-module - GitHub
Why not use react-native new-library ? Unfortunately that command doesn't create an up-to-date library, requires an already initialized React Native project ...
Read more >
creating module for react-native - Mobikul
React Native CLI installation – $ npm install -g react-native-cli yarn · To install this tool package- · Creating a module by using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found