Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS DIrectory is not created when running create-bridge #40

Open
2 tasks done
marchon opened this issue Dec 12, 2017 · 0 comments
Open
2 tasks done

IOS DIrectory is not created when running create-bridge #40

marchon opened this issue Dec 12, 2017 · 0 comments

Comments

@marchon
Copy link

marchon commented Dec 12, 2017

Dev setup:

  • react-native-create-bridge version: Latest commit 20c2692 on Sep 3 @peggyrayzis peggyrayzis chore(v1.2.2): version bump
  • react-native version:

I am using create-bridge in a:

  • standalone library
  • existing React Native project

What you did:

Georges-MacBook-Pro:react-native-create-bridge marchon$ create-bridge
? What is your bridge module called? TESTBRIDGE
? What type of bridge would you like to create? Native Module
? What OS & languages would you like to support? (Press to select, to toggle all, to inverse selection)Android/Java, iOS/Objective-C
? What directory should we deliver your JS files to? .
[readAndWriteFiles] { Error: ENOENT: no such file or directory, open '/Users/marchon/NJ/bridging/react-native-create-bridge/ios/TESTBRIDGE.h'
at Error (native)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/marchon/NJ/bridging/react-native-create-bridge/ios/TESTBRIDGE.h' }
✔ Your bridge module was successfully created! 🎉

What happened:

No ios directory was created, so no files were written.

'/Users/marchon/NJ/bridging/react-native-create-bridge/ios/TESTBRIDGE.h'
at Error (native)
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/marchon/NJ/bridging/react-native-create-bridge/ios/TESTBRIDGE.h' }
✔ Your bridge module was successfully created! 🎉

screen shot 2017-12-12 at 3 53 06 pm

I do believe that the code makes the directory for the javascipt path but not the ios path.
If I make the ios path in advance, the files appear there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant