-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
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
10.1.0
Framework Version
Next 15.4.5
Link to Sentry event
No response
Reproduction Example/SDK Setup
After installing latest version of @sentry/nextjs
, building application started giving error
pnpm run build
The erorr
Type error: Cannot find type definition file for 'minimatch'.
The file is in the program because:
Entry point for implicit type library 'minimatch'
After deep checking, @sentry/nextjs
is the only package depending on minimatch
This package is also mentioned in this pull request merged on July 2
#16789
Steps to Reproduce
- Setup new nextjs project
- Install
@sentry/nextjs
then run - Build application by running
pnpm run build
Expected Result
minimatch
should be part of the package and installed automatically
Actual Result
minimatch
requires external installation and interrupts building application. Initially it is difficult to find the root cause because of very generic error statement without mentioning traceback.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Community