ignite icon indicating copy to clipboard operation
ignite copied to clipboard

Stuck on "Writing your app name in the sand" when generating a new app

Open daniel opened this issue 3 years ago • 4 comments

What's going on?

When I try to generate a new app the ignite command gets stuck at the last step ("Writing your app name in the sand") - I never get back to the bash prompt.


Steps to reproduce

  1. npx ignite-cli new PizzaApp
  2. Wait until your patience runs out (in my case around 25 minutes).

Result:

   · · · · · · · · · · · · · · · · · · 🔥 Ignite 🔥 · · · · · · · · · · · · · · · · · ·

    █ Creating PizzaApp using Ignite 7.0.4
    █ Powered by Infinite Red - https://infinite.red
    █ Using ignite-cli
    ────────────────────────────────────────────────

    🔥 Igniting app
    🖨  3D-printing a new React Native app
    🧶 Unboxing NPM dependencies
    ☕️ Baking CocoaPods
    🏝  Writing your app name in the sand

If I terminate the process with Ctrl+C and type yarn I get this:

yarn install v1.22.10
[1/4] 🔍  Resolving packages...
success Already up-to-date.
$ node ./bin/postInstall
patch-package 6.2.2
Applying patches...
No patch files found

✔︎ Solidarity checks valid
Jetifier found 1263 file(s) to forward-jetify. Using 16 workers...
Installing unimodules:
 [email protected] from ../node_modules/expo-constants/ios
 [email protected] from ../node_modules/expo-file-system/ios
 [email protected] from ../node_modules/expo-image-loader/ios
 [email protected] from ../node_modules/expo-localization/ios
 [email protected] from ../node_modules/expo-permissions/ios
 [email protected] from ../node_modules/unimodules-app-loader/ios
 [email protected] from ../node_modules/unimodules-barcode-scanner-interface/ios
 [email protected] from ../node_modules/unimodules-camera-interface/ios
 [email protected] from ../node_modules/unimodules-constants-interface/ios
 [email protected] from ../node_modules/@unimodules/core/ios
 [email protected] from ../node_modules/unimodules-face-detector-interface/ios
 [email protected] from ../node_modules/unimodules-file-system-interface/ios
 [email protected] from ../node_modules/unimodules-font-interface/ios
 [email protected] from ../node_modules/unimodules-image-loader-interface/ios
 [email protected] from ../node_modules/unimodules-permissions-interface/ios
 [email protected] from ../node_modules/@unimodules/react-native-adapter/ios
 [email protected] from ../node_modules/unimodules-sensors-interface/ios
 [email protected] from ../node_modules/unimodules-task-manager-interface/ios

Auto-linking React Native modules for target `PizzaApp`: RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNKeychain, RNScreens, and react-native-safe-area-context
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 73 dependencies from the Podfile and 64 total pods installed.

[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
✨  Done in 14.78s.

ignite doctor results:

System
  platform           darwin                                                                             
                                          
  arch               x64                                                                                
  cpu                16 cores                                  Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz 
  directory          /Users/daniel/projects/_test/IgniteExpo                                            

JavaScript
  node               12.13.0      /Users/daniel/.nvm/versions/node/v12.13.0/bin/node 
  npm                7.15.1       /Users/daniel/.nvm/versions/node/v12.13.0/bin/npm  
  yarn               1.22.10      /usr/local/bin/yarn                                

React Native
  react-native-cli   2.0.1      
  app rn version     0.63.2     

Ignite
  ignite-cli         3.1.6        /usr/local/bin/ignite 

Android
  java               12.0.2       /usr/bin/java                     
  android home       -            /Users/daniel/Library/Android/sdk 

iOS
  xcode              12.5.1     

daniel avatar Jul 01 '21 15:07 daniel

@daniel First off, congrats on getting daniel as your Github username. Secondly, can you run it with --debug and post the results? (it'll be pretty verbose, but the primary thing I'm looking for is any errors toward the end of the output).

jamonholmgren avatar Jul 01 '21 18:07 jamonholmgren

@jamonholmgren Thanks, I was a beta tester 😄.

Here's the output - I don't see any errors.

_test[]$ npx ignite-cli new PizzaApp --debug
 [object Object]
   

   · · · · · · · · · · · · · · · · · · 🔥 Ignite 🔥 · · · · · · · · · · · · · · · · · ·

    █ Creating PizzaApp using Ignite 7.0.4
    █ Powered by Infinite Red - https://infinite.red
    █ Using ignite-cli
    ────────────────────────────────────────────────

    🔥 Igniting app
    🖨  3D-printing a new React Native app
 /Users/daniel/projects/_test
 /Users/daniel/projects/_test/PizzaApp/.gitignore
 /Users/daniel/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/boilerplate/.npmignore
    ⠹ Unboxing NPM dependencies patch-package 6.2.2

 Applying patches...

    ⠇ Unboxing NPM dependencies 

 ✔︎ Solidarity checks valid

    ⠦ Unboxing NPM dependencies Jetifier found 1263 file(s) to forward-jetify. Using 16 workers...

    ⠹ Unboxing NPM dependencies Installing unimodules:
 [email protected] from ../node_modules/expo-constants/ios
 [email protected] from ../node_modules/expo-file-system/ios
 [email protected] from ../node_modules/expo-image-loader/ios
 [email protected] from ../node_modules/expo-localization/ios
 [email protected] from ../node_modules/expo-permissions/ios
 [email protected] from ../node_modules/unimodules-app-loader/ios
 [email protected] from ../node_modules/unimodules-barcode-scanner-interface/ios
 [email protected] from ../node_modules/unimodules-camera-interface/ios
 [email protected] from ../node_modules/unimodules-constants-interface/ios
 [email protected] from ../node_modules/@unimodules/core/ios
 [email protected] from ../node_modules/unimodules-face-detector-interface/ios
 [email protected] from ../node_modules/unimodules-file-system-interface/ios
 [email protected] from ../node_modules/unimodules-font-interface/ios
 [email protected] from ../node_modules/unimodules-image-loader-interface/ios
 [email protected] from ../node_modules/unimodules-permissions-interface/ios
 [email protected] from ../node_modules/@unimodules/react-native-adapter/ios
 [email protected] from ../node_modules/unimodules-sensors-interface/ios
 [email protected] from ../node_modules/unimodules-task-manager-interface/ios


    ⠧ Unboxing NPM dependencies Auto-linking React Native modules for target `HelloWorld`: RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNKeychain, RNScreens, and react-native-safe-area-context
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`

    ⠇ Unboxing NPM dependencies Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`

    ⠋ Unboxing NPM dependencies Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`

    ⠦ Unboxing NPM dependencies Downloading dependencies
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing EXConstants (9.3.5)
Installing EXFileSystem (9.3.0)
Installing EXImageLoader (1.3.0)
Installing EXLocalization (9.1.0)
Installing EXPermissions (10.0.0)
Installing FBLazyVector (0.64.2)
Installing FBReactNativeSpec (0.64.2)

    ⠹ Unboxing NPM dependencies Installing Flipper (0.75.1)
Installing Flipper-DoubleConversion (1.1.7)
Installing Flipper-Folly (2.5.3)
Installing Flipper-Glog (0.3.6)
Installing Flipper-PeerTalk (0.0.4)
Installing Flipper-RSocket (1.3.1)
Installing FlipperKit (0.75.1)
Installing OpenSSL-Universal (1.1.180)
Installing RCT-Folly (2020.01.13.00)
Installing RCTRequired (0.64.2)
Installing RCTTypeSafety (0.64.2)
Installing RNCAsyncStorage (1.15.5)
Installing RNCMaskedView (0.1.10)
Installing RNGestureHandler (1.10.3)
Installing RNKeychain (6.2.0)
Installing RNScreens (2.18.1)
Installing React (0.64.2)
Installing React-Core (0.64.2)
Installing React-CoreModules (0.64.2)
Installing React-RCTActionSheet (0.64.2)
Installing React-RCTAnimation (0.64.2)
Installing React-RCTBlob (0.64.2)
Installing React-RCTImage (0.64.2)
Installing React-RCTLinking (0.64.2)
Installing React-RCTNetwork (0.64.2)
Installing React-RCTSettings (0.64.2)
Installing React-RCTText (0.64.2)
Installing React-RCTVibration (0.64.2)
Installing React-callinvoker (0.64.2)
Installing React-cxxreact (0.64.2)
Installing React-jsi (0.64.2)
Installing React-jsiexecutor (0.64.2)
Installing React-jsinspector (0.64.2)
Installing React-perflogger (0.64.2)
Installing React-runtimeexecutor (0.64.2)
Installing ReactCommon (0.64.2)
Installing UMAppLoader (1.4.0)
Installing UMBarCodeScannerInterface (5.4.0)
Installing UMCameraInterface (5.4.0)
Installing UMConstantsInterface (5.4.0)
Installing UMCore (6.0.0)
Installing UMFaceDetectorInterface (5.4.0)
Installing UMFileSystemInterface (5.4.0)
Installing UMFontInterface (5.4.0)
Installing UMImageLoaderInterface (5.4.0)
Installing UMPermissionsInterface (5.4.0)
Installing UMReactNativeAdapter (5.7.0)
Installing UMSensorsInterface (5.4.0)
Installing UMTaskManagerInterface (5.4.0)
Installing Yoga (1.14.0)
Installing YogaKit (1.18.1)
Installing boost-for-react-native (1.63.0)
Installing glog (0.3.5)
Installing libevent (2.1.12)
Installing react-native-safe-area-context (3.1.8)
Generating Pods project

    ⠋ Unboxing NPM dependencies Integrating client project

 Pod installation complete! There are 73 dependencies from the Podfile and 64 total pods installed.

    🧶 Unboxing NPM dependencies
    ⠴ Baking CocoaPods Scanning for pods...

    ⠦ Baking CocoaPods 1.10.1

 > pod install

    ⠦ Baking CocoaPods Installing unimodules:
 [email protected] from ../node_modules/expo-constants/ios
 [email protected] from ../node_modules/expo-file-system/ios
 [email protected] from ../node_modules/expo-image-loader/ios
 [email protected] from ../node_modules/expo-localization/ios
 [email protected] from ../node_modules/expo-permissions/ios
 [email protected] from ../node_modules/unimodules-app-loader/ios
 [email protected] from ../node_modules/unimodules-barcode-scanner-interface/ios
 [email protected] from ../node_modules/unimodules-camera-interface/ios
 [email protected] from ../node_modules/unimodules-constants-interface/ios
 [email protected] from ../node_modules/@unimodules/core/ios
 [email protected] from ../node_modules/unimodules-face-detector-interface/ios
 [email protected] from ../node_modules/unimodules-file-system-interface/ios
 [email protected] from ../node_modules/unimodules-font-interface/ios
 [email protected] from ../node_modules/unimodules-image-loader-interface/ios
 [email protected] from ../node_modules/unimodules-permissions-interface/ios
 [email protected] from ../node_modules/@unimodules/react-native-adapter/ios
 [email protected] from ../node_modules/unimodules-sensors-interface/ios
 [email protected] from ../node_modules/unimodules-task-manager-interface/ios


    ⠏ Baking CocoaPods Auto-linking React Native modules for target `HelloWorld`: RNCAsyncStorage, RNCMaskedView, RNGestureHandler, RNKeychain, RNScreens, and react-native-safe-area-context
Analyzing dependencies

    ⠧ Baking CocoaPods Downloading dependencies
Generating Pods project

    ⠼ Baking CocoaPods Integrating client project

 Pod installation complete! There are 73 dependencies from the Podfile and 64 total pods installed.

    ☕️ Baking CocoaPods
    ⠦  Writing your app name in the sand /ios/PizzaApp RENAMED

 Ignore above error if this file doesn't exist

 Ignore above error if this file doesn't exist

 /ios/PizzaApp.xcodeproj RENAMED

 Ignore above error if this file doesn't exist

 /ios/PizzaApp.xcodeproj/xcshareddata/xcschemes/PizzaApp.xcscheme RENAMED

 /ios/PizzaAppTests RENAMED

 /ios/PizzaAppTests/PizzaAppTests.m RENAMED

 /ios/PizzaApp.xcworkspace RENAMED

 Ignore above error if this file doesn't exist

 Ignore above error if this file doesn't exist

 /android/app/src/main/res/values/strings.xml MODIFIED

 /index.js MODIFIED

 /ios/PizzaApp/Info.plist MODIFIED

 /package.json MODIFIED

 /app.json MODIFIED

    ⠸  Writing your app name in the sand /ios/PizzaApp.xcodeproj/project.pbxproj MODIFIED

    ⠦  Writing your app name in the sand /ios/PizzaApp.xcworkspace/contents.xcworkspacedata MODIFIED

    ⠙  Writing your app name in the sand /ios/PizzaApp.xcodeproj/xcshareddata/xcschemes/PizzaApp.xcscheme MODIFIED

    ⠸  Writing your app name in the sand /ios/PizzaApp/AppDelegate.m MODIFIED

    ⠦  Writing your app name in the sand /android/settings.gradle MODIFIED

    ⠇  Writing your app name in the sand /ios/PizzaAppTests/PizzaAppTests.m MODIFIED

    ⠸  Writing your app name in the sand /ios/Podfile MODIFIED

    ⠴  Writing your app name in the sand /app.json MODIFIED

 android/app/src/main/java/com/helloworld BUNDLE IDENTIFIER CHANGED

 /android/app/src/main/AndroidManifest.xml MODIFIED

 /android/app/BUCK MODIFIED

 /android/app/build.gradle MODIFIED

    ⠦  Writing your app name in the sand /android/app/src/main/java/com/helloworld/MainActivity.java MODIFIED

 /android/app/src/main/java/com/helloworld/MainApplication.java MODIFIED

 /android/app/src/main/java/com/helloworld/MainActivity.java MODIFIED

 android/app/src/debug/java/com/helloworld BUNDLE IDENTIFIER CHANGED

 /android/app/src/main/AndroidManifest.xml MODIFIED

 /android/app/BUCK MODIFIED

 /android/app/build.gradle MODIFIED

 /android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java MODIFIED

 Done removing builds.

 APP SUCCESSFULLY RENAMED TO "PizzaApp"! 🎉 🎉 🎉

 Podfile has been modified, please run "pod install" inside ios directory.

 Please make sure to run "watchman watch-del-all" and "npm start --reset-cache" before running the app.

    🏝  Writing your app name in the sand

daniel avatar Jul 01 '21 18:07 daniel

I can start the app after running yarn, so it might be that the only problem is that the process doesn't exit properly.

daniel avatar Jul 01 '21 19:07 daniel

Hi @daniel - is this still an issue for you when using the latest version of ignite?

frankcalise avatar Aug 23 '22 21:08 frankcalise

There has been a lot of changes since this issue last had activity. This is going to be closed for now, but please re-open if this still needs attention.

joshuayoes avatar Oct 04 '22 17:10 joshuayoes