question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error in npx ignite-cli@next new PizzaAppNew

See original GitHub issue

Describe the bug

following failure when executing npx ignite-cli@next new PizzaAppNew. Please note npx ignite-cli new PizzaApp (ie 7.15 version) works correctly … Command output follows.

/Users/carrollfulkerson/.npm/_npx/2351a7c35afcf833/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 > 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 > url > querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 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 > 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 > 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 > 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 > 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 > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 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/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 > @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@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 > raven-js@3.27.2: Please upgrade to @sentry/browser. See the migration guide https://bit.ly/3ybOlo7 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 > 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 > 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 > 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 > 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 > 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@❤️.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 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 ❤️.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 “reactotron-react-native > react-native-flipper@0.34.0” has incorrect peer dependency “react@^16.8.1”. warning “reactotron-react-native > react-native-flipper@0.34.0” has incorrect peer dependency “react-native@^0.62.0”. No patch files found Jetifier is deprecated. Future versions of react-native CLI may not run it by default. Jetifier: propose an AndroidX conversion PR to this repository: node_modules/detox/android/detox/src/full/java/com/wix/detox/Detox.java Jetifier: propose an AndroidX conversion PR to this repository: node_modules/detox/android/detox/src/testFull/java/com/wix/invoke/JsonParserTest.java Jetifier: propose an AndroidX conversion PR to this repository: node_modules/detox/android/detox/src/testFull/java/com/wix/invoke/JsonParserTest.java (node:42778) [DEP0148] DeprecationWarning: Use of deprecated folder mapping “./” in the “exports” field module resolution of the package at /Users/carrollfulkerson/code/PizzaAppNext/node_modules/@expo/devcert/node_modules/tslib/package.json. Update this package.json to use a subpath pattern like “./*”. (Use node --trace-deprecation ... to show where the warning was created) /Users/carrollfulkerson/code/PizzaAppNext/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:51: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /Users/carrollfulkerson/code/PizzaAppNext/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:51: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: …) instead. ./bin/postInstall failed on command: if [ -d “ios” ]; then cd ios && pod install && cd -; fi error Command failed with exit code 31.

(Use node --trace-uncaught ... to show where the exception was thrown)

Ignite version

8.0.0-beta.7

Additional info

System platform darwin arch arm64 cpu 8 cores Apple M1 directory PizzaAppNext /Users/carrollfulkerson/code/PizzaAppNext

JavaScript (and globally-installed packages) node 16.17.0 /Users/carrollfulkerson/.nvm/versions/node/v16.17.0/bin/node npm 8.15.0 /Users/carrollfulkerson/.nvm/versions/node/v16.17.0/bin/npm corepack 0.12.1 npm 8.15.0 yarn 1.22.19 yarn 1.22.19 /Users/carrollfulkerson/.nvm/versions/node/v16.17.0/bin/yarn pnpm - not installed expo 46.0.10 managed

Ignite ignite-cli 8.0.0-beta.7 /Users/carrollfulkerson/.npm/_npx/2351a7c35afcf833/node_modules/.bin/ignite ignite src build /Users/carrollfulkerson/.npm/_npx/2351a7c35afcf833/node_modules/ignite-cli/build

Android java 11.0.16.1 /usr/bin/java android home - undefined

iOS xcode 14.0 cocoapods 1.11.3 /opt/homebrew/bin/pod

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joshuayoescommented, Sep 23, 2022

I can close the issue, thank you for following up. I’m glad you are liking the new app/content!

0reactions
sondogF123commented, Sep 23, 2022

after running the ‘Pod Repo Update’ - ‘npx ignite-cli@next new PizzaApp’ now works. Apologies for the false alarm. Thank you very much for your assistance in debugging my error. Would you like me to close this issue ? btw: like the new app/content - well done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error found when we install npx create-react-app
create folder with your project name; Right click on folder open VS-CODE; open VS-Code's terminal; cd projectname; npx create-react-app .
Read more >
Infinite Red, Inc. ignite Issues - Giters
Error on default instalation ... `npx ignite-cli remove-demo-markup` unable to run prettier if no deps ... error in npx ignite-cli@next new PizzaAppNew.
Read more >
NPX Create React APP Not Working - YouTube
To create a new React App, we use npx command with ... throw error So create-react-app is not working for me using npx...
Read more >
npx - npm Docs
npx. Run a command from a local or remote npm package ... none of them match the name of the package), then npm...
Read more >
npx Create-react-app app names keeps on failing in vs Code
The command "npx Create-react-app app" keeps failing in vs code .I tried reinstalling and updating node.js and npm but the error ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found