Marcos Pacheco

Results 4 comments of Marcos Pacheco

I've been seeing the same error after I upgraded `@sentry/react` from `^7.114.0` to `^8.12.0` using the `npx @sentry/migr8@latest` command. My React version is `^16.6.0`: ```json { "dependencies": { ... "react":...

> Our peer deps state we only support `16.14.0` or higher: > > https://github.com/getsentry/sentry-javascript/blob/aafb4e7b7e855f41cddd51191f2da8d3ddadaa02/packages/react/package.json#L52 > > Could you upgrade your react version to `16.14.0` and check if the error still...

@AbhiPrasad Thanks for looking into this. We're using webpack `^5.74.0`. The ts/js files are transpiled by babel. These are our dev dependencies: ```json "devDependencies": { "@babel/core": "^7.12.17", "@babel/plugin-proposal-class-properties": "^7.12.13", "@babel/plugin-proposal-nullish-coalescing-operator":...

@AbhiPrasad I was able to get rid of the errors, but I had to [force babel to parse modules as "cjs"](https://babeljs.io/docs/babel-preset-env#modules).