Open
Description
Environment
What version are you running? Etc.
Steps to Reproduce
- Using bash & command prompt, I attempted to run npx @sentry/wizard@latest -i nextjs --saas --org --project javascript-nextjs
- After npm validated my login, the installation immediately fails.
- I re-ran the same command two more times, first using the --legacy-peer-deps and then using the --force flag, and it still fails.
Expected Result
I expected to follow the step by step example and finish the installation to be able to utilize sentry
Actual Result
Even after using the force flag, sentry just doesn't work after installing.
This is what I pulled from the log file:
2025-04-12T18_53_35_831Z-eresolve-report
# npm resolution error report
While resolving: [email protected]
Found: [email protected]
node_modules/next
next@"15.2.2-canary.0" from the root project
Could not resolve dependency:
peer next@"^13.2.0 || ^14.0 || ^15.0.0-rc.0" from @sentry/[email protected]
node_modules/@sentry/nextjs
@sentry/nextjs@"9.12.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Community