Open marchon opened 6 years ago
react-native-create-bridge
react-native
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! π
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! π
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.
Dev setup:
react-native-create-bridge
version: Latest commit 20c2692 on Sep 3 @peggyrayzis peggyrayzis chore(v1.2.2): version bumpreact-native
version:I am using create-bridge in a:
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! π
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.