infinitered / ignite

Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more! 9 years of continuous development and counting.
MIT License
17.68k stars 1.4k forks source link

Installation still failing #2286

Closed jfroffice closed 1 year ago

jfroffice commented 2 years ago

Describe the bug

https://github.com/infinitered/ignite/issues/2260#issuecomment-1302346762

which pod

Ignite version

8.2.28

Additional info

$ npx ignite-cli doctor
System
  platform           darwin
  arch               x64
  cpu                8 cores      Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
  directory          ios          /Users/jfroffice/minds/PizzaApp/ios

JavaScript (and globally-installed packages)
  node                18.12.0                                   /usr/local/bin/node
  npm                 8.19.2                                    /usr/local/bin/npm
    corepack          0.14.2
    diff-so-fancy     1.3.0
    es-check          5.2.3
    gatsby            2.24.87
    gtop              1.0.2
    jest              27.2.0
    license-checker   25.0.1
    neovim            4.10.0
    netlify-cli       3.38.9
    nodemon           2.0.6
    npm               8.19.2
    postcss           8.1.7
    pure-prompt       1.16.0
    tspath            1.3.7
    twilio-cli        2.12.0
    typescript        4.4.3
    yarn              1.22.19
  yarn                1.22.19                                   /usr/local/bin/yarn
    create-vite       3.0.2
    node-gyp          6.1.0
    vite              2.3.7
  pnpm                7.9.0                                     /usr/local/bin/pnpm
                      <no pnpm global package info available>
  expo                46.0.16                                   managed

Ignite
  ignite-cli         8.2.5        /Users/jfroffice/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
  ignite src         build        /Users/jfroffice/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android
  java               1.8.0_292    /usr/bin/java
  android home       -            undefined

iOS
  xcode              14.1
  cocoapods          1.11.3       /Users/jfroffice/.gem/bin/pod

Tools
  git                git version 2.34.1   /usr/local/bin/git
frankcalise commented 2 years ago

@jfroffice please try npx ignite-cli@latest or clear out your npx cache. If you look at the ignite-cli version output by the doctor command you are still running 8.2.5, not 8.2.8.

If you want to try out the fix by hand, just go into projectDir/ios and rm Podfile.lock followed by pod install or cd ..; yarn

jfroffice commented 2 years ago

I am getting the same error with the last version. :(

System
  platform           darwin
  arch               x64
  cpu                8 cores      Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
  directory          ios          /Users/jfroffice/minds/MySuperApp/ios

JavaScript (and globally-installed packages)
  node                18.12.0                                   /usr/local/bin/node
  npm                 8.19.2                                    /usr/local/bin/npm
    corepack          0.14.2
    diff-so-fancy     1.3.0
    es-check          5.2.3
    gatsby            2.24.87
    gtop              1.0.2
    jest              27.2.0
    license-checker   25.0.1
    neovim            4.10.0
    netlify-cli       3.38.9
    nodemon           2.0.6
    npm               8.19.2
    postcss           8.1.7
    pure-prompt       1.16.0
    tspath            1.3.7
    twilio-cli        2.12.0
    typescript        4.4.3
    yarn              1.22.19
  yarn                1.22.19                                   /usr/local/bin/yarn
    create-vite       3.0.2
    node-gyp          6.1.0
    vite              2.3.7
  pnpm                7.9.0                                     /usr/local/bin/pnpm
                      <no pnpm global package info available>
  expo                46.0.16                                   managed

Ignite
  ignite-cli         8.2.8        /Users/jfroffice/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
  ignite src         build        /Users/jfroffice/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android
  java               1.8.0_292    /usr/bin/java
  android home       -            undefined

iOS
  xcode              14.1
  cocoapods          1.11.3       /Users/jfroffice/.gem/bin/pod

Tools
  git                git version 2.34.1   /usr/local/bin/git
frankcalise commented 2 years ago

You are still failing pod install?

jfroffice commented 2 years ago

Yes, even with the trick on installation a custom pod version.

$ which pod
/Users/jfroffice/.gem/bin/pod
$ pod --version
1.11.3
frankcalise commented 2 years ago

@jfroffice Can you please run npx ignite-cli@latest --yes --debug and paste the formatted output here? Thanks!

mhy-beta commented 2 years ago

Hi, I have installation problem but I am newbie,

Steps:

result; ` Ignited dbapp7 in 231.26s πŸš€

For next time: here are the Ignite options you picked!
  npx ignite-cli new dbapp7 \
    --bundle=com.mhy.dbapp7 \
    --git \
    --install-deps \
    --packager=yarn \
    --target-path=C:\Users\mhy\Projects\dbapp7 \
    --remove-demo=false

────────────────────────────────────────────────────

To run in Android, make sure you've followed the latest
react-native setup instructions. You reference them at:
https://reactnative.dev/docs/environment-setup

────────────────────────────────────────────────────

Need additional help?

Join our Slack community at http://community.infinite.red.

────────────────────────────────────────────────────

Now get cooking! 🍽
  cd dbapp7
  yarn start
  yarn android

With Expo:
  cd dbapp7
  yarn expo:start

C:\Users\mhy\AppData\Roaming\npm-cache_npx\11192\node_modules\ignite-cli\node_modules\gluegun\build\index.js:15 throw up; ^

Error: EPERM: operation not permitted, unlink 'C:\Users\mhy\AppData\Roaming\npm-cache_npx\11192\node_modules\ignite-cli\node_modules\sharp\build\Release\libglib-2.0-0.dll' at Object.unlinkSync (fs.js:1251:3) at fixWinEPERMSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:219:13) at rimrafSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:319:28) at C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:350:5 at Array.forEach () at rmkidsSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:349:26) at rmdirSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:342:7) at fixWinEPERMSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:217:5) at rimrafSync (C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:319:28) at C:\Program Files\nodejs\node_modules\npm\node_modules\rimraf\rimraf.js:350:5 { errno: -4048, syscall: 'unlink', code: 'EPERM', path: 'C:\Users\mhy\AppData\Roaming\npm-cache\_npx\11192\node_modules\ignite-cli\node_modules\sharp\build\Release\libglib-2.0-0.dll' }`

and I'm run project folder inside, npx ignite-cli doctor command, result; `npx ignite-cli doctor

System platform win32 arch x64 cpu 4 cores Intel(R) Xeon(R) CPU X5460 @ 3.16GHz directory dbapp7 C:\Users\mhy\Projects\dbapp7 C:\Users\mhy\AppData\Roaming\npm-cache_npx\8044\node_modules\ignite-cli\node_modules\gluegun\build\index.js:15 throw up; ^

Error: Command failed: pnpm --version internal/modules/cjs/loader.js:888 throw err; ^

Error: Cannot find module 'C:\Users\mhy\AppData\Roaming\npm\node_modules\corepack\dist\pnpm.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15) at Function.Module._load (internal/modules/cjs/loader.js:730:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

at ChildProcess.exithandler (child_process.js:319:12)
at ChildProcess.emit (events.js:376:20)
at maybeClose (internal/child_process.js:1055:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {

killed: false, code: 1, signal: null, cmd: 'pnpm --version', stdout: '', stderr: 'internal/modules/cjs/loader.js:888\r\n' + ' throw err;\r\n' + ' ^\r\n' + '\r\n' + "Error: Cannot find module 'C:\Users\mhy\AppData\Roaming\npm\node_modules\corepack\dist\pnpm.js'\r\n" + ' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15)\r\n' + ' at Function.Module._load (internal/modules/cjs/loader.js:730:27)\r\n' + ' at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)\r\n' + ' at internal/main/run_main_module.js:17:47 {\r\n' + " code: 'MODULE_NOT_FOUND',\r\n" + ' requireStack: []\r\n' + '}\r\n' }`

frankcalise commented 2 years ago

@mhy-beta it looks like your project got initialized correctly, were you able to cd into the directory and run it?

What command did you run after that (before the ignite-cli doctor) where that gluegun output displayed?

mhy-beta commented 2 years ago

@frankcalise Hi, I will try to explain step by step. The name of the project I created is "dbapp7"

  1. start "powershell" and went to the following directory (C:\users\mhy\projects) to create a new project.
  2. and write this npx ignite-cli@latest new dbapp7 --debug
  3. I see this C:\Users\mhy\AppData\Roaming\npm-cache_npx\11192\node_modules\ignite-cli\node_modules\gluegun\build\index.js:15 throw up; ^ Error: EPERM: ..... ....
  4. then from (C:\users\mhy\projects) I typed the command "cd .\dbapp7\" to enter the folder "dbapp7", the folder where the project was created.
  5. PS C:\Users\mhy\Projects\dbapp7>
  6. Here I wrote the following command (npx ignite-cli doctor)
  7. This is what I came up with:
  8. C:\Users\mhy\AppData\Roaming\npm-cache_npx\8044\node_modules\ignite-cli\node_modules\gluegun\build\index.js:15 throw up; ^ Error: Command failed: pnpm --version internal/modules/cjs/loader.js:888 throw err; ^

I am attaching step by step screenshots here. 0

1

2

3

4

5

6

I hope I was able to explain the situation. Thank you very much for your interest.

frankcalise commented 2 years ago

@mhy-beta thanks for the detail! this will help us debug

frankcalise commented 2 years ago

@mhy-beta I just tested on my Windows machine and this seems to work just fine. Since your npx ignite-cli doctor output is not completing, could you give me the following versions for the listed packages? I think something is possibly wrong in your nodejs/npm setup.

node --version npm --version

mhy-beta commented 2 years ago

node: v14.17.0 npm: 6.14.13

@frankcalise Actually, I'm starting to think there's a problem with that. I will delete node/npm completely and try with the latest LTS version.

Note: However, since the latest nodejs version and the last lts version took longer than normal, I installed this version. I also gave feedback for Nodejs but no response.

e.g: Node versions 18.12.1 and 19.0.1 it takes exactly 7 minutes to load "@feathers/cli" globally. In v14.17.0 it is almost 3 minutes. So I had to format my computer and install the v14 version again.

frankcalise commented 2 years ago

@mhy-beta ok I know I use 16.14.2 and others on my team use either a variation of 16 or 18.

However if you install something like nvm then you don't have to worry about only keeping one version installed.

There is a version of this for Windows - https://github.com/coreybutler/nvm-windows - you'll have to follow the installation instructions to remove any pervious version of node for it to work.

The other option you have is using WSL to run Linux on Windows and just work on your projects that way since most of the tooling revolves around a unix type of system unfortunately. I do know that it is possible to have things working on Windows though, as I have done it for years - so definitely dig deeper into your set up.

mhy-beta commented 2 years ago

Thanks for your concern, I just installed "nvm for windows" and downloaded the latest LTS version nodejs. Using npm it successfully built the first project in 321 seconds. I haven't tried it with yarn yet.

7

Since my computer is old, I use windows and unfortunately I cannot virtualize, so I wanted to install a second operating system. But my ubuntu,mint trials including windows now they want UEFI bios and they need GPT system for multipart hdd partitions so I have to stay physically on windows.

I don't know much to be honest, but I'll look into WSL.

Thank you for your help.

frankcalise commented 2 years ago

@mhy-beta awesome glad to hear you got it working!

Peege151 commented 2 years ago

Carrying on from #2260

(Idk how to quote Martengooz from here) but he said:

I noticed that it was using my old pod version, and not the one i just installed by gem. By running which pod, i saw that it was pointing to /usr/local/bin/pod which is the built in version. Changing this to the one installed by gem i added /opt/homebrew/opt/ruby/bin to my path.

I was just wondering how / where you change the path... if that's .bash_profile or if you're using a command to do that. I can't get which pod to output anything other than /usr/local/bin/pod

frankcalise commented 2 years ago

@Peege151 you might have two cocoapods installed. You might need to do something like this to clear it up:

sudo gem uninstall cocoapods
brew uninstall cocoapods
brew install cocoapods

At this point I'd make sure you close and restart any terminals, can then try which pod

If pointing to the homebrew one

cd myProj
pod install
Peege151 commented 2 years ago

I tried that which pod points to the same location… am I supposed to update my .bash_profile though? I have not done that if I am supposed to

Peege151 commented 2 years ago

Same error...

I got it to work with pod install --repo-update

jamonholmgren commented 1 year ago

Might be fixed with #2302?

frankcalise commented 1 year ago

@jfroffice would you mind trying 8.3.4 with the --debug flag and paste the output here if you're still experiencing issues?

For example: npx ignite-cli new PizzaApp --yes --debug

frankcalise commented 1 year ago

Closing due to no response from the original poster. Seems like others that came here with the same issue have resolved the issue.

Please reopen with the requested additional information if still having the issue.

Thanks all :)

jfroffice commented 1 year ago

No new thing to test @frankcalise so no update to provide.

I am testing your last version.

jfroffice commented 1 year ago

I have the same glog issue than before

npx ignite-cli doctor
System
  platform           darwin
  arch               x64
  cpu                8 cores      Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
  directory          MyPizzaApp   /Users/xxxxxxx/projects/MyPizzaApp

JavaScript (and globally-installed packages)
  node                16.16.0                                   /usr/local/bin/node
  npm                 8.19.2                                    /usr/local/bin/npm
    corepack          0.10.0
    diff-so-fancy     1.3.0
    es-check          5.2.3
    gatsby            2.24.87
    gtop              1.0.2
    jest              27.2.0
    license-checker   25.0.1
    neovim            4.10.0
    netlify-cli       3.38.9
    nodemon           2.0.6
    npm               8.19.2
    postcss           8.1.7
    pure-prompt       1.16.0
    tspath            1.3.7
    twilio-cli        2.12.0
    typescript        4.4.3
    yarn              1.22.19
  yarn                1.22.19                                   /usr/local/bin/yarn
    create-vite       3.0.2
    node-gyp          6.1.0
    vite              2.3.7
  pnpm                7.9.0                                     /usr/local/bin/pnpm
                      <no pnpm global package info available>
  expo                46.0.19                                   managed

Ignite
  ignite-cli         8.4.4        /Users/xxxxxxx/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
  ignite src         build        /Users/xxxxxxx/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android
  java               1.8.0_292    /usr/bin/java
  android home       -            undefined

iOS
  xcode              14.2
  cocoapods          1.11.3       /Users/xxxxxxx/.gem/bin/pod

Tools
  git                git version 2.34.1   /usr/local/bin/git
npx ignite-cli@latest new MyPizzaApp --yes --debug
 ignite command: /usr/local/bin/node /Users/xxxxx/.npm/_npx/bec2839915ba8fc3/node_modules/.bin/ignite new MyPizzaApp --yes --debug

 ignitePath: /Users/xxxxx/.npm/_npx/bec2839915ba8fc3/node_modules/ignite-cli
 boilerplatePath: /Users/xxxxx/.npm/_npx/bec2839915ba8fc3/node_modules/ignite-cli/boilerplate

                                      ,;'    'lll.
                                     .clc.   ;lll.      ..''..
     ...                              .''  .;cllc:l. .;cllclll,
    ;lll.               .'..,:llc,.  ;lll. ,clll:'' .lll:,,llc.
   .lll:     .,;;,,cl. .lllll;;llll. :ll:   .lll.   ;llll:;,.
   .lll;   ;cllllllll. .lll,   ;lll..lll;   ,llc.   ;llc. .'.
   .lll,  :ll:. .:ll:  'lll.   :lll..lll,   ,lll:c, .cllllll:
   'lll' .lll.  .lll;  ,lll.  .lll; .lll'   .::::,.  ..'''..
   ;lll. .lll;..;lll'  ;ll:   .;;,. .,'.....'        ...',,''.
   ;lll.  ,cllllllll'  ..''..      ..,;:cllc. ..',::lc;,..
   clll.    ....'lll;,;cllll,..,;cllllcclllc:clllc,..
   lll;   ..',;:lllllc:;cllllllc:,''...cllllc;'.
   :;,.  ;lll:;;lll;   .cc;,..       .cl;'.
        'lll. .;llc.                 ..
        .cllllllc;.
          ,llll,

    β–ˆ Creating MyPizzaApp using Ignite 8.4.4
    β–ˆ Powered by  ∞ Infinite Red  (https://infinite.red)
    β–ˆ Package Manager: yarn
    β–ˆ Bundle identifier: com.mypizzaapp
    β–ˆ Path: /Users/xxxxx/projects/MyPizzaApp
    ────────────────────────────────────────────────────

    πŸ–¨  3D-printing a new React Native app
 /Users/xxxxx/projects/MyPizzaApp/.gitignore
 /Users/xxxxx/.npm/_npx/bec2839915ba8fc3/node_modules/ignite-cli/boilerplate/.gitignore.template
 /Users/xxxxx/projects
 expected cachePath: /Users/xxxxx/Library/Caches/ignite/2cfca1a4d9f48e77902717d5ff6dc19f/yarn
 cacheExists: false
    β ‹ Getting those last few details perfect Renaming ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme to MyPizzaApp.xcscheme
 Renaming ios/HelloWorldTests/HelloWorldTests.m to MyPizzaAppTests.m
 Renaming ios/HelloWorld-Bridging-Header.h to MyPizzaApp-Bridging-Header.h
 Renaming ios/HelloWorld.xcworkspace to MyPizzaApp.xcworkspace
 Renaming ios/HelloWorld to MyPizzaApp
 Renaming ios/HelloWorldTests to MyPizzaAppTests
 Renaming ios/HelloWorld.xcodeproj to MyPizzaApp.xcodeproj
 Renaming bundle identifier to com.mypizzaapp
 Patching app.json - HelloWorld to MyPizzaApp and variants
 Patching package.json - HelloWorld to MyPizzaApp and variants
 Patching index.js - HelloWorld to MyPizzaApp and variants
 Patching android/settings.gradle - HelloWorld to MyPizzaApp and variants
 Patching android/app/_BUCK - HelloWorld to MyPizzaApp and variants
 Patching android/app/BUCK - HelloWorld to MyPizzaApp and variants
 Patching android/app/build.gradle - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/debug/java/com/mypizzaapp/ReactNativeFlipper.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/AndroidManifest.xml - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/MainActivity.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/MainApplication.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/MainApplication.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/newarchitecture/MainApplicationReactNativeHost.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/newarchitecture/components/MainComponentsRegistry.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/java/com/mypizzaapp/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/jni/Android.mk - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/jni/MainComponentsRegistry.h - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h - HelloWorld to MyPizzaApp and variants
 Patching android/app/src/main/res/values/strings.xml - HelloWorld to MyPizzaApp and variants
 Patching ios/Podfile - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaApp/Info.plist - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaApp.xcodeproj/project.pbxproj - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaApp.xcodeproj/xcshareddata/xcschemes/MyPizzaApp.xcscheme - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaApp.xcworkspace/contents.xcworkspacedata - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaAppTests/MyPizzaAppTests.m - HelloWorld to MyPizzaApp and variants
 Patching ios/MyPizzaApp/AppDelegate.mm - HelloWorld to MyPizzaApp and variants
    🎨 Getting those last few details perfect
    β Ή Installing yarn dependencies (wow these are heavy) yarn install v1.22.19

 info No lockfile found.

 [1/4] Resolving packages...

    ⠏ Installing yarn dependencies (wow these are heavy) [2/4] Fetching packages...

    β ‹ Installing yarn dependencies (wow these are heavy) [3/4] Linking dependencies...

    β Ή Installing yarn dependencies (wow these are heavy) [4/4] Building fresh packages...

    ⠏ Installing yarn dependencies (wow these are heavy) success Saved lockfile.

 $ node ./bin/postInstall

    β ‹ Installing yarn dependencies (wow these are heavy) ./bin/postInstall script running: npx patch-package

    β ‹ Installing yarn dependencies (wow these are heavy) patch-package 6.4.7

 Applying patches...

 ./bin/postInstall script running: pkill -f "cli.js start" || set exit 0

 ./bin/postInstall script running: npx pod-install

    β ‹ Installing yarn dependencies (wow these are heavy) Scanning for pods...

    β ¦ Installing yarn dependencies (wow these are heavy) 1.11.3

 > pod install

    β ΄ Installing yarn dependencies (wow these are heavy) Using Expo modules

 Auto-generating `.xcode.env.local` with $NODE_BINARY=/var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/yarn--1672130084646-0.7672592557379425/node

    β Έ Installing yarn dependencies (wow these are heavy) Auto-linking React Native modules for target `MyPizzaApp`: RNBootSplash, RNCAsyncStorage, RNGestureHandler, RNReanimated, RNScreens, and react-native-safe-area-context

    β Ό Installing yarn dependencies (wow these are heavy) [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json

    β ¦ Installing yarn dependencies (wow these are heavy) Pull request detected: null
fatal: ni ceci ni aucun de ses rΓ©pertoires parents n'est un dΓ©pΓ΄t gitΒ : .git
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`

 [Codegen] Found FBReactNativeSpec

    β § Installing yarn dependencies (wow these are heavy) Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`

    β ‡ Installing yarn dependencies (wow these are heavy) Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`

 Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`

 Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes/hermes-engine.podspec`

    β Έ Installing yarn dependencies (wow these are heavy) Downloading dependencies
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing EXApplication (4.2.2)
Installing EXConstants (13.2.4)
Installing EXDevice (4.3.0)
Installing EXErrorRecovery (3.2.0)
Installing EXFileSystem (14.1.0)
Installing EXFont (10.2.1)
Installing EXSplashScreen (0.16.2)
Installing Expo (46.0.19)
Installing ExpoKeepAwake (10.2.1)
Installing ExpoLocalization (13.1.0)
Installing ExpoModulesCore (0.11.10)
Installing FBLazyVector (0.69.7)
Installing FBReactNativeSpec (0.69.7)

    β § Installing yarn dependencies (wow these are heavy) Installing Flipper (0.157.0)
Installing Flipper-Boost-iOSX (1.76.0.1.11)
Installing Flipper-DoubleConversion (3.2.0.1)
Installing Flipper-Fmt (7.1.7)
Installing Flipper-Folly (2.6.10)
Installing Flipper-Glog (0.5.0.5)
Installing Flipper-PeerTalk (0.0.4)
Installing Flipper-RSocket (1.4.3)
Installing FlipperKit (0.157.0)
Installing OpenSSL-Universal (1.1.1100)
Installing RCT-Folly (2021.06.28.00-v2)
Installing RCTRequired (0.69.7)
Installing RCTTypeSafety (0.69.7)
Installing RNBootSplash (4.3.2)
Installing RNCAsyncStorage (1.17.11)
Installing RNGestureHandler (2.5.0)
Installing RNReanimated (2.9.1)
Installing RNScreens (3.15.0)
Installing React (0.69.7)
Installing React-Codegen (0.69.7)
Installing React-Core (0.69.7)
Installing React-CoreModules (0.69.7)
Installing React-RCTActionSheet (0.69.7)
Installing React-RCTAnimation (0.69.7)
Installing React-RCTBlob (0.69.7)
Installing React-RCTImage (0.69.7)
Installing React-RCTLinking (0.69.7)
Installing React-RCTNetwork (0.69.7)
Installing React-RCTSettings (0.69.7)
Installing React-RCTText (0.69.7)
Installing React-RCTVibration (0.69.7)
Installing React-bridging (0.69.7)
Installing React-callinvoker (0.69.7)
Installing React-cxxreact (0.69.7)
Installing React-hermes (0.69.7)
Installing React-jsi (0.69.7)
Installing React-jsiexecutor (0.69.7)
Installing React-jsinspector (0.69.7)
Installing React-logger (0.69.7)
Installing React-perflogger (0.69.7)
Installing React-runtimeexecutor (0.69.7)
Installing ReactCommon (0.69.7)
Installing SocketRocket (0.6.0)
Installing Yoga (1.14.0)
Installing YogaKit (1.18.1)
Installing boost (1.76.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)

    β § Installing yarn dependencies (wow these are heavy)
[!] Error installing glog
[!] /usr/local/bin/git clone https://github.com/google/glog.git /var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16045-1cn3y83 --template= --single-branch --depth 1 --branch v0.3.5

Clonage dans '/var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16045-1cn3y83'...
git@github.com: Permission denied (publickey).
fatal: Impossible de lire le dΓ©pΓ΄t distant.

Veuillez vérifier que vous avez les droits d'accès
et que le dΓ©pΓ΄t existe.

 > pod install --repo-update

    β Ό Installing yarn dependencies (wow these are heavy) Using Expo modules

    β ¦ Installing yarn dependencies (wow these are heavy) Auto-linking React Native modules for target `MyPizzaApp`: RNBootSplash, RNCAsyncStorage, RNGestureHandler, RNReanimated, RNScreens, and react-native-safe-area-context

 [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json

    β § Installing yarn dependencies (wow these are heavy) Pull request detected: null
fatal: ni ceci ni aucun de ses rΓ©pertoires parents n'est un dΓ©pΓ΄t gitΒ : .git
Updating local specs repositories

    β ΄ Installing yarn dependencies (wow these are heavy) Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`

 [Codegen] Found FBReactNativeSpec

    β ¦ Installing yarn dependencies (wow these are heavy) Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`

    β § Installing yarn dependencies (wow these are heavy) Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`

 Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`

 Fetching podspec for `hermes-engine` from `../node_modules/react-native/sdks/hermes/hermes-engine.podspec`

    β ‹ Installing yarn dependencies (wow these are heavy) Downloading dependencies
Installing CocoaAsyncSocket (7.6.5)
Installing DoubleConversion (1.1.6)
Installing EXApplication (4.2.2)
Installing EXConstants (13.2.4)
Installing EXDevice (4.3.0)
Installing EXErrorRecovery (3.2.0)
Installing EXFileSystem (14.1.0)
Installing EXFont (10.2.1)
Installing EXSplashScreen (0.16.2)
Installing Expo (46.0.19)
Installing ExpoKeepAwake (10.2.1)
Installing ExpoLocalization (13.1.0)
Installing ExpoModulesCore (0.11.10)
Installing FBLazyVector (0.69.7)
Installing FBReactNativeSpec (0.69.7)

    β ΄ Installing yarn dependencies (wow these are heavy) Installing Flipper (0.157.0)
Installing Flipper-Boost-iOSX (1.76.0.1.11)
Installing Flipper-DoubleConversion (3.2.0.1)
Installing Flipper-Fmt (7.1.7)
Installing Flipper-Folly (2.6.10)
Installing Flipper-Glog (0.5.0.5)
Installing Flipper-PeerTalk (0.0.4)
Installing Flipper-RSocket (1.4.3)
Installing FlipperKit (0.157.0)
Installing OpenSSL-Universal (1.1.1100)
Installing RCT-Folly (2021.06.28.00-v2)
Installing RCTRequired (0.69.7)
Installing RCTTypeSafety (0.69.7)
Installing RNBootSplash (4.3.2)
Installing RNCAsyncStorage (1.17.11)
Installing RNGestureHandler (2.5.0)
Installing RNReanimated (2.9.1)
Installing RNScreens (3.15.0)
Installing React (0.69.7)
Installing React-Codegen (0.69.7)
Installing React-Core (0.69.7)
Installing React-CoreModules (0.69.7)
Installing React-RCTActionSheet (0.69.7)
Installing React-RCTAnimation (0.69.7)
Installing React-RCTBlob (0.69.7)
Installing React-RCTImage (0.69.7)
Installing React-RCTLinking (0.69.7)
Installing React-RCTNetwork (0.69.7)
Installing React-RCTSettings (0.69.7)
Installing React-RCTText (0.69.7)
Installing React-RCTVibration (0.69.7)
Installing React-bridging (0.69.7)
Installing React-callinvoker (0.69.7)
Installing React-cxxreact (0.69.7)
Installing React-hermes (0.69.7)
Installing React-jsi (0.69.7)
Installing React-jsiexecutor (0.69.7)
Installing React-jsinspector (0.69.7)
Installing React-logger (0.69.7)
Installing React-perflogger (0.69.7)
Installing React-runtimeexecutor (0.69.7)
Installing ReactCommon (0.69.7)
Installing SocketRocket (0.6.0)
Installing Yoga (1.14.0)
Installing YogaKit (1.18.1)
Installing boost (1.76.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)

    β Ό Installing yarn dependencies (wow these are heavy)
[!] Error installing glog
[!] /usr/local/bin/git clone https://github.com/google/glog.git /var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16097-niljcm --template= --single-branch --depth 1 --branch v0.3.5

Clonage dans '/var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16097-niljcm'...
git@github.com: Permission denied (publickey).
fatal: Impossible de lire le dΓ©pΓ΄t distant.

Veuillez vérifier que vous avez les droits d'accès
et que le dΓ©pΓ΄t existe.

    β ΄ Installing yarn dependencies (wow these are heavy) info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

    β ¦ Installing yarn dependencies (wow these are heavy)
/Users/xxxxx/.npm/_npx/bec2839915ba8fc3/node_modules/gluegun/build/index.js:15
    throw up;
    ^
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@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 > 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 > 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 > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
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 > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning @expo/webpack-config > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @expo/webpack-config > react-dev-utils > fork-ts-checker-webpack-plugin > 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/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 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-linking > 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 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 > 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 > 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 > 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 > 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 > 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 > 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 > @expo/ngrok > request@2.88.2: request has been deprecated, 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 > 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 > 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 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 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".
No patch files found
Couldn't install Pods. Updating the Pods project and trying again...
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Error installing glog
[!] /usr/local/bin/git clone https://github.com/google/glog.git /var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16097-niljcm --template= --single-branch --depth 1 --branch v0.3.5

Clonage dans '/var/folders/8h/4j__pbr17hb7949zhlddmrnw0000gn/T/d20221227-16097-niljcm'...
git@github.com: Permission denied (publickey).
./bin/postInstall failed on command:
  npx pod-install
error Command failed with exit code 1.

(Use `node --trace-uncaught ...` to show where the exception was thrown)
frankcalise commented 1 year ago

@jfroffice There are github authentication errors in your logs

git@github.com: Permission denied (publickey)

This is not Ignite specific, please make sure you have proper git config for the SSH authentication set up.

jfroffice commented 1 year ago

@frankcalise good catch !

I will fix it.

jfroffice commented 1 year ago

Fixed.

rm Podfile && pod install

Now it is working. πŸ’―

Thank you so much @frankcalise for your time.