Closed destinybonavita closed 4 years ago
Do you use a ruby switcher like chruby
or ruby-env
? I often forget to switch to the ruby that has cocoapods installed when running ignite
.
I don't think I do; how would I check?
Fixed it! There was a problem with my cocoapods setup
Hey @destinybonavita -- can you share what was wrong with your cocoapods setup? Maybe it's something Ignite could check for, and give a clearer error message.
I think it came down to a problem with the ./configure
file having the wrong file encoding. I tried a bunch of things at once and it eventually worked.
The last thing I tried was changing my global git config to ignore file encodings for macOS vs Windows
Alrighty, thank you!
Hey there! Ignite CLI seems to be having a problem, eh?
Welllllll, it just might be. First, search the issues to make sure it's not already here, and if not head over to http://community.infinite.red to get some help. If you've identified that it's really an Ignite CLI issue, then:
ignite doctor
and paste the result below, including the lines with 3 backticksWhat's going on?
I'm trying to run
ignite new project
but it's throwing the below error: I have cocoapods installed so it should be working fine. Not sure why this issue is happening.Steps to reproduce
Run
ignite new project
ignite doctor
results:System platform darwin
arch x64
cpu 16 cores Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
directory React Native /Users/user/Documents/project/React Native
JavaScript node 13.7.0 /Users/user/.nvm/versions/node/v13.7.0/bin/node npm 6.14.2 /Users/user/.nvm/versions/node/v13.7.0/bin/npm
yarn 1.22.0 /Users/user/.nvm/versions/node/v13.7.0/bin/yarn
Ignite ignite-cli 3.5.1 /usr/local/bin/ignite
ignite src build /Users/user/.config/yarn/global/node_modules/ignite-cli/build generators {}
Android java 1.8.0_241 /usr/bin/java
android home - /Users/user/Library/Android/sdk
iOS xcode 11.4.1
cocoapods 1.9.1 /usr/local/bin/pod