[!] Invalid `Podfile` file: [!] Unable to locate the executable `node`.
See original GitHub issueEnvironment
$ react-native info
info Fetching system and libraries information...
(node:17046) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
OS: macOS 10.15.5
CPU: (4) x64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
Memory: 125.88 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.3.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
npmPackages:
react: ~16.9.0 => 16.9.0
react-native: ~0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 0.1.4
Description
Just after doing an expo eject
, when trying to do a pod install
from within the ios
directory, I get the following output and error.
As you can see in the output of react-native info
, I do have node
installed and in my PATH. Any idea what could be wrong?
./ios $ pod install
Installing unimodules:
expo-constants@9.0.0 from ../node_modules/expo-constants/ios
expo-error-recovery@1.1.0 from ../node_modules/expo-error-recovery/ios
expo-file-system@8.1.0 from ../node_modules/expo-file-system/ios
expo-font@8.1.1 from ../node_modules/expo-font/ios
expo-image-loader@1.0.1 from ../node_modules/expo-image-loader/ios
expo-keep-awake@8.1.0 from ../node_modules/expo-keep-awake/ios
expo-linear-gradient@8.1.0 from ../node_modules/expo-linear-gradient/ios
expo-location@8.1.0 from ../node_modules/expo-location/ios
expo-permissions@8.1.0 from ../node_modules/expo-permissions/ios
expo-splash-screen@0.2.3 from ../node_modules/expo-splash-screen/ios
expo-sqlite@8.1.0 from ../node_modules/expo-sqlite/ios
expo-updates@0.2.7 from ../node_modules/expo-updates/ios
expo-web-browser@8.2.1 from ../node_modules/expo-web-browser/ios
unimodules-app-loader@1.0.2 from ../node_modules/react-native-unimodules/node_modules/unimodules-app-loader/ios
unimodules-barcode-scanner-interface@5.1.0 from ../node_modules/unimodules-barcode-scanner-interface/ios
unimodules-camera-interface@5.1.0 from ../node_modules/unimodules-camera-interface/ios
unimodules-constants-interface@5.1.0 from ../node_modules/unimodules-constants-interface/ios
unimodules-core@5.1.2 from ../node_modules/react-native-unimodules/node_modules/@unimodules/core/ios
unimodules-face-detector-interface@5.1.0 from ../node_modules/unimodules-face-detector-interface/ios
unimodules-file-system-interface@5.1.0 from ../node_modules/unimodules-file-system-interface/ios
unimodules-font-interface@5.1.0 from ../node_modules/unimodules-font-interface/ios
unimodules-image-loader-interface@5.1.0 from ../node_modules/unimodules-image-loader-interface/ios
unimodules-permissions-interface@5.1.0 from ../node_modules/unimodules-permissions-interface/ios
unimodules-react-native-adapter@5.2.0 from ../node_modules/@unimodules/react-native-adapter/ios
unimodules-sensors-interface@5.1.0 from ../node_modules/unimodules-sensors-interface/ios
unimodules-task-manager-interface@5.1.0 from ../node_modules/unimodules-task-manager-interface/ios
Found some duplicated unimodule packages. Installed the ones with the highest version number.
Make sure following dependencies of your project are resolving to one specific version:
unimodules-app-loader, unimodules-core
[!] Invalid `Podfile` file: [!] Unable to locate the executable `node`.
# from /Users/sam/Development/HabitApp/ios/Podfile:45
# -------------------------------------------
# # react-native-cli autolinking
> use_native_modules!
# end
# -------------------------------------------
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Invalid `Podfile` file: Unable to locate the executable `node`
I had the same Issue. As I was trying to run a React Native App, and I needed some node module I have...
Read more >Invalid `Podfile` file: [!] Unable to locate the executable `node`
Hey i am getting pod install error Error : [!] Invalid `Podfile` file: [!] Unable to locate the executable `node`.
Read more >Invalid `Podfile` file: Unable to locate the executable `node`
Coding example for the question Invalid `Podfile` file: Unable to locate the executable `node`-React Native.
Read more >[!] Invalid `Podfile` file: [!] Unable to locate the executable ` ...
Invalid `Podfile` file: [!] Unable to locate the executable `node`. ... exports inside circular dependency (Use `node --trace-warnings .
Read more >Pod install error : r/iOSProgramming
Invalid `Podfile` file: [!] Unable to locate the executable `mkdir`. ... require File.join(File.dirname(`node --print ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I updated cocoa pods but it didn’t solve the problem 😦
That is what everyone tells me and I’ve written my own solution.