Skip to content

Error: No configuration provided for <my user path>\sentry-apiz7R\rewriteFramesHelper.js #4382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Cigan12 opened this issue Dec 20, 2021 · 9 comments
Assignees
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@Cigan12
Copy link

Cigan12 commented Dec 20, 2021

Environment

How do you use Sentry?
Sentry SaaS

Which SDK and version?
@sentry/nextjs: 6.16.1

Steps to Reproduce

We have monorepo project and using nextjs with nestjs,

  1. I installed nextjs sdk using npm install --save @sentry/nextjs
  2. Executed wizard by npx @sentry/wizard -i nextjs
  3. Moved the generated configs to the folder with nextjs of our monorepo
  4. Try to build project with this command next build src/client

Expected Result

What you thought would happen.
I thought this would build

Actual Result

I'm getting this error
image
Maybe I missed something, rewriteFramesHelper.js contains
image
This is my next.config.js, I was trying to specify somehow path for the configs, but it didn't help.
image
This is my project structure, all config files inside of client folder except .sentryclirc, this is in root.
image

What actually happened. Maybe a screenshot/recording? Maybe some logs?

@Cigan12
Copy link
Author

Cigan12 commented Dec 28, 2021

Hi, we are paying for you service for month, and can't connect it to our projects... Please, say something, why it's in backlog for 8 days?

@SadBamsi
Copy link

SadBamsi commented Jan 6, 2022

I have a similar problem too

@Roman-Leonchik
Copy link

Hello. I noticed the same problem.

@SamsonovaJulia
Copy link

Hi! I have the same issue. Do you have any comments? thanks

@lobsterkatie
Copy link
Member

Hi, all. Sorry for the delay - we've all been away for the winter holidays and are now working to catch up.

Are all of you using Nest along with Next, as the OP indicated is the case?

If anyone is able to provide a minimal repro, that'd be really helpful as we try to debug this.

Thanks!

@lobsterkatie lobsterkatie transferred this issue from getsentry/sentry-webpack-plugin Jan 11, 2022
@lobsterkatie lobsterkatie added Package: nextjs Issues related to the Sentry Nextjs SDK Status: Needs Reproduction labels Jan 11, 2022
@Cigan12
Copy link
Author

Cigan12 commented Jan 12, 2022

@lobsterkatie, hi, I have created a minimal repo, https://github.com/Cigan12/sentry-reproduce-error - I found that, the error is throwing by stylelint, and we need to exclude rewriteHelper from stylelint loader.... Hope, my case will be helpful for somebody. Maybe, you need to add it to your documentation.
image
I excluded it like so

@lobsterkatie
Copy link
Member

Thanks for figuring that out, @Cigan12!

I've added this to our backlog to document.

@timfish
Copy link
Collaborator

timfish commented Dec 2, 2022

There have been a lot of improvement and fixes in @sentry/nextjs since this issue was originally opened. @Cigan12 can you confirm if this is still an issue with the latest release?

@lobsterkatie
Copy link
Member

This shouldn't be an issue anymore, as we no longer create the rewriteFramesHelper file, so I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

No branches or pull requests

6 participants