Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.109.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: "https://___@___.ingest.us.sentry.io/___",
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 1,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
Steps to Reproduce
- Used
import { sendFeedback } from "@sentry/nextjs";
in a client component - Navigated to a page that rendered that component
Expected Result
No errors/warnings
Actual Result
I got this in the server log:
Import trace for requested module:
./lib/api/feedback.ts
./components/shared/help-button.tsx
⚠ ./lib/api/feedback.ts
Attempted import error: 'sendFeedback' is not exported from '@sentry/nextjs' (imported as 'sendFeedback').
Notably, the code does work, and the imported function can be called successfully.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner