2.9 C
London
Monday, January 15, 2024

ios – Pod set up not working resulting from node modules & podfile


i’m attempting to setup my surroundings on my new laptop( mac-m3) and i’m attempting to begin a cell software, when i attempt to run pod set up i face these errors. My mission makes use of:
node 14.20.0,
and: 3.3.0 (set by /person/.rbenv/model),
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
cocoapod model 1.14.3
react model 18.2.0
react-native model “0.67.9”,
npm v8.19.4

‘Log recordsdata:

Whereas resolving: [email protected]
Discovered: @varieties/[email protected]
node_modules/@varieties/react
dev @varieties/react@”18.0.28″ from the foundation mission

Couldn’t resolve dependency:
peerOptional @varieties/react@”^18.2.25″ from [email protected]
node_modules/react-redux
react-redux@”^9.1.0″ from the foundation mission

Conflicting peer dependency: @varieties/[email protected]
node_modules/@varieties/react
peerOptional @varieties/react@”^18.2.25″ from [email protected]
node_modules/react-redux
react-redux@”^9.1.0″ from the foundation mission

[!] Invalid Podfile file: /Consumer/repo/app/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:39: syntax error, sudden <<
template =<<~EOS
^
/Customers/baasandorj.l/Repos/OCH/kb-och/app/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:40: unknown regexp choices – ll
/Customers/baasandorj.l/Repos/OCH/kb-och/app/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:41: dynamic fixed task
RCT_SCRIPT_POD_INSTALLATION_ROOT=$(pwd)
^
/Customers/baasandorj.l/Repos/OCH/kb-och/app/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:41: `$(‘ isn’t allowed as a worldwide variable identify
/Customers/baasandorj.l/Repos/OCH/kb-och/app/node_modules/react-native/scripts/react_native_pods_utils/script_phases.rb:41: syntax error, sudden end-of-input
RCT_SCRIPT_POD_INSTALLATION_ROOT=$(pwd)
^.

require_relative ‘../node_modules/react-native/scripts/react_native_pods’

i attempted deleting node modules, cocoapods, rbenv and reinstalled however its giving the identical error and these are some variations of my surroundings, i even tried including this line to my zshrc alias pod=’arch -x86_64 pod’ please assist!!!

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here