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
As far as I can tell, the problem is exactly the same as #913. However, that issue was closed as "fixed" and the discussion thread there is closed.
Steps to Reproduce
yarn add detox@9.0.4
Detox, Node, Device, Xcode and macOS Versions
Detox: 9.0.4
Node: 11.6.0
Device: Macbook Pro 2015
Xcode: 10.1
macOS: 10.14.2 (Mojave)
Device and verbose Detox logs
Printed during installation:
$ yarn add detox@9.0.4
yarn add v1.12.3
[1/4] 🔍 Resolving packages...
warning rxdb > express-pouchdb > pouchdb-replicator > random-uuid-v4 > jest > jest-cli > prompts > kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
[2/4] 🚚 Fetching packages...
info @expo/ngrok-bin-darwin-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info "@expo/ngrok-bin-darwin-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-freebsd-ia32@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-freebsd-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-freebsd-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-freebsd-x64@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-freebsd-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-linux-arm@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-linux-arm64@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-linux-arm64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm64@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-linux-ia32@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-linux-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-linux-x64@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-linux-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-sunos-x64@2.2.8: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-sunos-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-win32-ia32@2.2.8-beta.1: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-win32-ia32@2.2.8-beta.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-win32-ia32@2.2.8-beta.1: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-win32-x64@2.2.8-beta.1: The platform "darwin" is incompatible with this module.
info "@expo/ngrok-bin-win32-x64@2.2.8-beta.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] 🔗 Linking dependencies...
warning "expo > react-native-maps@0.21.0" has incorrect peer dependency "react-native@^0.51 || ^0.52 || ^0.53 || ^0.54".
warning "expo > react-native-web-maps@0.1.0" has unmet peer dependency "react-native-web@*".
warning "expo > react-native-web-maps > react-google-maps@7.3.0" has incorrect peer dependency "react@15.5.4".
warning "expo > react-native-web-maps > react-google-maps@7.3.0" has unmet peer dependency "react-dom@15.5.4".
warning "expo > react-native-web-maps > react-google-maps > react-prop-types-element-of-type@2.2.0" has incorrect peer dependency "react@^0.14.6 || ^15.0.0-0".
warning "react-native > eslint-plugin-react-native@3.3.0" has unmet peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "jest-expo > babel-jest@22.4.4" has unmet peer dependency "babel-core@^6.0.0 || ^7.0.0-0".
[4/4] 📃 Building fresh packages...
[-/3] ⠠ waiting...
[3/3] ⠠ detox
error /Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox: Command failed.
Exit code: 1
Command: node scripts/postinstall.js
Arguments:
Directory: /Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox
Output:
+ xcodebuild -version
+++ dirname /Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox/scripts/build_framework.ios.sh
++ dirname /Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox/scripts
+ detoxRootPath=/Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox
++ node -p 'require('\''/Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox/package.json'\'').version'
+ detoxVersion=9.0.4
++ echo 9.0.4
++ xcodebuild -version
++ shasum
++ awk '{print $1}'
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: /usr/local/bin/awk
Reason: image not found
+ sha1=
child_process.js:643
throw err;
^
Error: Command failed: /Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox/scripts/build_framework.ios.sh
at checkExecSyncError (child_process.js:622:11)
at Object.execFileSync (child_process.js:640:13)
at Object.<anonymous> (/Users/nglenn/dev/workspaces/web_workspace/rxdb/examples/react-native/node_modules/detox/scripts/postinstall.js:2:27)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:732: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:774:12)
The folder ~/Library/Detox did not exist, so I do not have a log file to provide.
The text was updated successfully, but these errors were encountered:
I have no idea what "/usr/local/opt/readline/lib/libreadline.7.dylib" is. The detox script uses awk and yours seems broken. This is unrelated to Detox.
Description
As far as I can tell, the problem is exactly the same as #913. However, that issue was closed as "fixed" and the discussion thread there is closed.
Steps to Reproduce
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
Printed during installation:
The folder
~/Library/Detox
did not exist, so I do not have a log file to provide.The text was updated successfully, but these errors were encountered: