You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Its a kind of duplicate i know but it have not been solved yet or at least not that i could solve it.
react-native-create-bridge version: 2.0.1
react-native version:4.1.13
existing React Native project
What you did:
after using the command react-native new-module and fill out every step. I got an error "TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined"
What happened:
The text was updated successfully, but these errors were encountered:
I'm having the exact same error.
react-native-cli: 2.0.1
react-native: 0.59.10
react-native-create-bridge: 2.0.1
The error does not occur if I turn off Android/Java.
The exception was thrown on index.js:91, which is part of the statement var appPath = path.join(process.cwd(), "android", "app", "src", "main", "java", "com", pkg.name);.
pkg is the contents of package.json.
Adding a name attribute to package.json fixed this error for me, but now I'm getting other errors.
For the error that started this issue, try adding a line with "name":"yourAppsName", in package.json (substitute the name of your app for yourAppsName, and make sure there is only one pair of curly braces around this line).
Now I'm getting Error: Invalid argument not valid semver ('^0.59.9' received) thrown file-operations.js:22
Its a kind of duplicate i know but it have not been solved yet or at least not that i could solve it.
react-native-create-bridge
version: 2.0.1react-native
version:4.1.13existing React Native project
What you did:
after using the command react-native new-module and fill out every step. I got an error "TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined"
What happened:
The text was updated successfully, but these errors were encountered: