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.

TypeError: global.pokeSamplingProfiler is not a function when trying to open debugger

See original GitHub issue

React Native version:

  React Native Environment Info:
    System:
      OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
      CPU: (4) x64 Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
      Memory: 443.54 MB / 15.53 GB
      Shell: 4.4.19 - /bin/bash
    Binaries:
      Node: 8.10.0 - /usr/bin/node
      Yarn: 1.16.0 - /usr/bin/yarn
      npm: 3.5.2 - /usr/bin/npm
    SDKs:
      Android SDK:
        API Levels: 22, 23, 26, 27, 28
        Build Tools: 28.0.3
        System Images: android-27 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 3.3 AI-182.5107.16.33.5264788
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.1 => 0.59.1 

Steps To Reproduce

  1. Run my app
  2. Try to use remote debugger

Describe what you expected to happen:

Debugger should have opened. This happened instead.

Screenshot from 2019-06-04 14-27-47

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
range-of-motioncommented, Jun 4, 2019

FYI if anyone runs into this, clear your cache and try again.

0reactions
range-of-motioncommented, Jan 30, 2020

Yeah this isn’t an issue for me. As I said––clear cache, reinstall, and try again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

global.performance.now is not a function in react native ...
Unable to find any solution to this query. TypeError: global.performance.now is not a function at node_modules/expo/build/ ...
Read more >
The 16 JavaScript debugging tips you probably didn't know
We've put together a list of 16 debugging tips that you may not know, but might want to keep in ... Try all...
Read more >
Common JavaScript Debugging Problems and How to Solve ...
Uncaught TypeError: x is not a function. This is also another error that usually occurs when you try to call a non-function/method variable....
Read more >
Troubleshoot custom functions - Office Add-ins | Microsoft Learn
Check for Excel error messages · Can't open add-in from localhost: Use a local loopback exemption · Runtime logging reports "TypeError: Network ...
Read more >
Oops, I did it again: A guide to debugging common JavaScript ...
TypeErrors are caused by trying to perform an operation on ... If not, I would add a debugger statement to the loop or...
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