-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Errors running yarn add -D detox
in a newly created React Native project.
#1153
Comments
Please post the full log. I can't read this. Thanks |
@LeoNatan What do you mean by full log? That's my entire terminal screen content when I run |
By the way, I tried downloading Xcode 9.4.1 and ran |
Bumping this issue I using a similar issue with Xcode 10.1 going to download 9.4 and seeing if I get better results |
The full build log is under I recommend deleting the entire |
This seems to be the same as #1092 |
1092 has now been closed. Try with the latest Detox release. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. |
Description
Errors running
yarn add -D detox
in a newly created React Native project.Steps to Reproduce
react-native init SomeProject
yarn add -D detox
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
yarn add v1.12.3
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "babel-jest > babel-preset-jest > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "metro-react-native-babel-preset > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @jonny/[email protected]" has incorrect peer dependency "react-native@^0.55.0".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
warning " > [email protected]" has unmet peer dependency "react-dom@^16.0.0-0".
warning " > [email protected]" has unmet peer dependency "@babel/core@*".
[4/4] 📃 Building fresh packages...
[-/3] ⠁ waiting...
[3/3] ⠁ detox
error /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox: Command failed.
Exit code: 1
Command: node scripts/postinstall.js
Arguments:
Directory: /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox
Output:
+++ dirname /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/scripts/build_framework.ios.sh
++ dirname /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/scripts
++ node -p 'require('''/Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/package.json''').version'
++ echo 10.0.7
++ xcodebuild -version
++ shasum
++ awk '{print $1}'
deleting /Users/macbook/Library/Detox/ios/e517cddcf195fe14e30126f67c40aa7898e0be01 and trying to rebuild.'
/Users/macbook/Library/Detox/ios/e517cddcf195fe14e30126f67c40aa7898e0be01 was found, but could not find Detox.framework inside it. This means that the Detox framework build process was interrupted.
deleting /Users/macbook/Library/Detox/ios/e517cddcf195fe14e30126f67c40aa7898e0be01 and trying to rebuild.
Extracting Detox sources...
Building Detox.framework from /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/ios_src...
child_process.js:642
throw err;
^
Error: Command failed: /Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/scripts/build_framework.ios.sh
at checkExecSyncError (child_process.js:621:11)
at Object.execFileSync (child_process.js:639:13)
at Object. (/Users/macbook/Desktop/ReactNativeTDD/node_modules/detox/scripts/postinstall.js:2:27)
at Module._compile (internal/modules/cjs/loader.js:723:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:776:12)
The text was updated successfully, but these errors were encountered: