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.

sentry-expo @sentry/utils/cjs/buildPolyfills could not be found within the project

See original GitHub issue

Environment

SaaS (https://sentry.io/)

Version

No response

Steps to Reproduce

  1. Used sentry-expo
  2. run expo publish

I’m on Expo SDK 45 not 46. This was working before but recently it stopped not sure why yet.

Expected Result

no error

Actual Result

Unable to resolve module @sentry/utils/cjs/buildPolyfills from C:\dh\dh-mobile\node_modules\sentry-expo\node_modules\@sentry\react\cjs\profiler.js: @sentry/utils/cjs/buildPolyfills could not be found within the project or in these directories:
  node_modules\sentry-expo\node_modules\@sentry\react\node_modules
  node_modules\sentry-expo\node_modules
  node_modules
  2 |   _interopDefault,
  3 |   _interopNamespace
> 4 | } = require('@sentry/utils/cjs/buildPolyfills');
    |              ^
  5 |
  6 | Object.defineProperty(exports, '__esModule', { value: true });
  7 |

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
trajanocommented, Aug 12, 2022

Another note, this seems to only crash on Windows but not on mac

0reactions
github-actions[bot]commented, Sep 7, 2022

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone … forever!


“A weed is but an unloved flower.” ― Ella Wheeler Wilcox 🥀

Read more comments on GitHub >

github_iconTop Results From Across the Web

sentry-expo @sentry/utils/cjs/buildPolyfills could not be found ...
Environment SaaS (https://sentry.io/) Version No response Steps to Reproduce Used sentry-expo run expo publish I'm on Expo SDK 45 not 46.
Read more >
Using Sentry - Expo Documentation
A guide on installing and configuring Sentry for crash reporting. Sentry is a crash reporting platform that provides you with "real-time insight into...
Read more >
How to use the sentry-expo.captureMessage function in ... - Snyk
To help you get started, we've selected a few sentry-expo.captureMessage examples, based on popular ways it is used in public projects.
Read more >
Using Sentry causes strange crash on start - Stack Overflow
I'm trying to use Sentry in my Expo managed workflow. ... Of course this means that I can't have Sentry in production which...
Read more >
@sentry/react-native - npm
Official Sentry SDK for react-native. Latest version: 4.12.0, last published: 12 days ago. Start using @sentry/react-native in your project ...
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