question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install procedure is not completable because of undefined variable

See original GitHub issue

Describe the bug
When running pod install I get undefined method 'pre_install' for nil:NilClass. I am looking at the documentation at https://github.com/rnmapbox/maps/blob/HEAD/ios/install.md and it references $RNMapboxMaps but that variable is not defined. Looking at the source code, the correct variable seems to be $RNMBGL. It seems like one of these variables should be reconciled into one variable.

To Reproduce

yarn add @react-native-mapbox-gl/maps
npx pod-install

Expected behavior
pod install completes

Actual behavior

[!] An error occurred while processing the pre-install hook of the Podfile.

undefined method 'pre_install' for nil:NilClass

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mfazekascommented, Mar 16, 2022

@finik-htec thanks for the report, this should be fixed by https://github.com/rnmapbox/maps/pull/1791

0reactions
finik-hteccommented, Mar 16, 2022

@mfazekas Oh yeah, exactly!

Read more comments on GitHub >

github_iconTop Results From Across the Web

php Laravel 9 Undefined variable $questions - Stack Overflow
Go back to basics, rule out the issue being caused by compact . If the following works: return view('admin.index', ['questions' => Question::all ...
Read more >
Install error: "Notice: Undefined variable: step in .."
I've installed php version 4.2.2 and MySql and vBulletin Lite version 1.0.1 (php version not the php3 version) for a client demo and...
Read more >
handing of undefined tcsh variables on context files
LD_LIBRARY_PATH: Undefined variable. while bash just handles that nicely and if the values does not exists it just set that to an empty...
Read more >
Error "undefined variable: WAS_LIBS_DIR" when creating ...
Here is the procedure to verify the value for WAS_LIBS_DIR environment variable : 1. Logon to IBM® WebSphere Admin Console. 2. Browse to...
Read more >
Resolve Error: Undefined Function or Variable - MathWorks
For example, this command fails because it includes an uppercase letter in the function name: accumArray. Undefined function or variable 'accumArray'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found