Ignite-cli new app failing at dependencies installation (expo-detox-hook/ExpoDetoxHook)
See original GitHub issueDescribe the bug
Hi! I’g going through an issue with my Ignite app creation during dependencies install. It gives me that error that I can’t overcome. I’ve looked everywhere online, reinstalled cocoapods, reinstalling the cli, switched from yarn to npm. Nothing changes. Thanks a lot for your help !
Error
⠋ Installing yarn dependencies (wow these are heavy)
/Users/william/.config/yarn/global/node_modules/gluegun/build/index.js:15
throw up;
^
warning ../../package.json: No license field
warning @expo/webpack-config > webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning @expo/webpack-config > copy-webpack-plugin > cacache > @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
warning @expo/webpack-config > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @expo/webpack-config > webpack-dev-server > sockjs > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @expo/webpack-config > webpack-dev-server > webpack-log > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning @expo/webpack-config > webpack-dev-server > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning @expo/webpack-config > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning @expo/webpack-config > webpack > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning @expo/webpack-config > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @expo/webpack-config > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @expo/webpack-config > webpack > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning @expo/webpack-config > optimize-css-assets-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
warning @expo/webpack-config > optimize-css-assets-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning expo > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-constants > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-file-system > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-asset > expo-constants > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > expo-asset > expo-file-system > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning expo > @expo/cli > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js as of v3.13.0
warning babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning detox > tempfile > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > axios@0.19.0-beta.1: Beta version should not be used anymore
warning detox-expo-helpers > xdl > joi@14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning detox-expo-helpers > xdl > querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning detox-expo-helpers > xdl > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > @expo/bunyan > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > raven@2.6.4: Please upgrade to @sentry/node. See the migration guide https://bit.ly/3ybOlo7
warning detox-expo-helpers > xdl > raven > uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning detox-expo-helpers > xdl > @expo/ngrok > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > raven-js@3.27.2: Please upgrade to @sentry/browser. See the migration guide https://bit.ly/3ybOlo7
warning detox-expo-helpers > xdl > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning detox-expo-helpers > xdl > @expo/ngrok > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning detox-expo-helpers > xdl > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
warning detox-expo-helpers > xdl > plist > xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
warning detox-expo-helpers > xdl > joi > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning detox-expo-helpers > xdl > analytics-node > superagent@3.8.3: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
warning detox-expo-helpers > xdl > slugid > uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning detox-expo-helpers > xdl > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning detox-expo-helpers > xdl > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning detox-expo-helpers > xdl > request > har-validator@5.1.5: this library is no longer supported
warning detox-expo-helpers > xdl > analytics-node > superagent > formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
warning detox-expo-helpers > xdl > @expo/osascript > babel-runtime > core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning detox-expo-helpers > xdl > pacote > make-fetch-happen > node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
warning jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
warning metro-config > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by uglify-js as of v3.13.0
warning mocha > debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
warning mocha > mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning webpack-dev-server > chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning "jest-expo > react-test-renderer@18.1.0" has incorrect peer dependency "react@^18.1.0".
error /Users/william/Dev/OMNx/node_modules/expo-detox-hook: Command failed.
Exit code: 1
Command: node scripts/postinstall.js
Arguments:
Directory: /Users/william/Dev/OMNx/node_modules/expo-detox-hook
Output:
+ xcodebuild -version
+++ dirname /Users/william/Dev/OMNx/node_modules/expo-detox-hook/scripts/build_framework.ios.sh
++ dirname /Users/william/Dev/OMNx/node_modules/expo-detox-hook/scripts
+ rootPath=/Users/william/Dev/OMNx/node_modules/expo-detox-hook
++ node -p 'require('\''/Users/william/Dev/OMNx/node_modules/expo-detox-hook/package.json'\'').version'
+ version=1.0.10
++ echo 1.0.10
++ xcodebuild -version
++ shasum
++ awk '{print $1}'
+ sha1=6cf16ba0936fbe240fddb41294e4099ed5b76ae5
+ frameworkDirPath=/Users/william/Library/ExpoDetoxHook/ios/6cf16ba0936fbe240fddb41294e4099ed5b76ae5
+ frameworkPath=/Users/william/Library/ExpoDetoxHook/ios/6cf16ba0936fbe240fddb41294e4099ed5b76ae5/ExpoDetoxHook.framework
+ main
+ '[' -d /Users/william/Library/ExpoDetoxHook/ios/6cf16ba0936fbe240fddb41294e4099ed5b76ae5 ']'
+ prepareAndBuildFramework
+ '[' -d /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios ']'
+ sourcePath=/Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ extractSources /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ sourcePath=/Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ echo 'Extracting ExpoDetoxHook sources...'
+ mkdir -p /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
Extracting ExpoDetoxHook sources...
+ tar -xjf /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ExpoDetoxHook-ios-src.tbz -C /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ buildFramework /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ sourcePath=/Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src
+ echo 'Building ExpoDetoxHook.framework from /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src...'
+ mkdir -p /Users/william/Library/ExpoDetoxHook/ios/6cf16ba0936fbe240fddb41294e4099ed5b76ae5
Building ExpoDetoxHook.framework from /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src...
+ /Users/william/Dev/OMNx/node_modules/expo-detox-hook/scripts/build_universal_framework.sh /Users/william/Dev/OMNx/node_modules/expo-detox-hook/ios_src/ExpoDetoxHook.xcodeproj /Users/william/Library/ExpoDetoxHook/ios/6cf16ba0936fbe240fddb41294e4099ed5b76ae5
node:child_process:867
throw err;
^
Error: Command failed: /Users/william/Dev/OMNx/node_modules/expo-detox-hook/scripts/build_framework.ios.sh
at checkExecSyncError (node:child_process:826:11)
at Object.execFileSync (node:child_process:864:15)
at Object.<anonymous> (/Users/william/Dev/OMNx/node_modules/expo-detox-hook/scripts/postinstall.js:2:27)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
status: 134,
signal: null,
output: [ null, null, null ],
pid: 21992,
stdout: null,
stderr: null
}
(Use node --trace-uncaught ... to show where the exception was thrown)
Steps to reproduce
ignite-cli new OMNx
or npx ignite-cli@latest new OMNx
(same results)
Ignite version
8.3.1
Additional info
System
platform darwin
arch x64
cpu 12 cores Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
directory william /Users/william
JavaScript (and globally-installed packages)
node 16.13.1 /Users/william/.nvm/versions/node/v16.13.1/bin/node
npm 8.1.2 /Users/william/.nvm/versions/node/v16.13.1/bin/npm
@expo/ngrok 4.1.0
@ionic/cli 6.19.0
cordova-res 0.15.4
corepack 0.10.0
firebase-tools 11.0.1
http-server 14.1.1
npm 8.1.2
yarn 1.22.19
yarn 1.22.19 /Users/william/.nvm/versions/node/v16.13.1/bin/yarn
expo-cli 6.0.2
ignite-cli 8.3.1
pnpm - not installed
expo - not installed
Ignite
ignite-cli 8.3.1 /usr/local/bin/ignite
ignite src build /Users/william/.config/yarn/global/node_modules/ignite-cli/build
Android
java 15.0.2 /usr/bin/java
android home - undefined
iOS
xcode 14.1
cocoapods 1.11.3 /usr/local/bin/pod
Tools
git git version 2.33.0 /usr/local/bin/git
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ignite-cli - npm
Start using ignite-cli in your project by running `npm i ignite-cli`. ... npx ignite-cli issue "Unable to Ignite new app" (as an example)....
Read more >Create a React Native app using Ignite boilerplate
Creating a new React Native project with Ignite. To start off, you can create a new Ignite project using the following command: npx...
Read more >Ignite CLI - Cosmos Developer Portal
In this section, you will: Install the Ignite CLI. Scaffold a blockchain. Use the CLI. Start the Ignite UI server. Send your first...
Read more >Install Ignite CLI
Steps to install Ignite CLI on your local computer. ... To install the latest version of the ignite binary use the following command....
Read more >Ignite ... and Expo Snack? Let's see if that works - YouTube
Today Jamon is working on getting Ignite working with Expo Snack! ... Building a to-do app with Realm React Native -- Jamon &...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No problem glad you got it resolved, you can leave it open - it’ll get closed when we push the fix. Thank you!
I’m glad you were able to reproduce the issue on your side. I was afraid my install had a problem. The project starts with expo meaning that I can enjoy your excellent hello world app so that’s cool. I will take care of the git manually. I will keep an eye on #2303 and see how it goes.
Thanks again for your help. It’s a pleasure to have been helped by you. Should I close this issue now ?