Title: Cannot find type definition file for 'minimatch' · Issue #17342 · getsentry/sentry-javascript · GitHub
Open Graph Title: Cannot find type definition file for 'minimatch' · Issue #17342 · getsentry/sentry-javascript
X Title: Cannot find type definition file for 'minimatch' · Issue #17342 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/17342
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot find type definition file for 'minimatch'","articleBody":"### Is there an existing issue for this?\n\n- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [x] I have reviewed the documentation https://docs.sentry.io/\n- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/nextjs\n\n### SDK Version\n\n10.1.0\n\n### Framework Version\n\nNext 15.4.5\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\nAfter installing latest version of `@sentry/nextjs`, building application started giving error\n\n```\npnpm run build\n```\n\nThe erorr\n```\nType error: Cannot find type definition file for 'minimatch'.\n The file is in the program because:\n Entry point for implicit type library 'minimatch'\n```\n\nAfter deep checking, `@sentry/nextjs` is the only package depending on `minimatch`\n\nThis package is also mentioned in this pull request merged on July 2\nhttps://github.com/getsentry/sentry-javascript/pull/16789\n\n### Steps to Reproduce\n\n1. Setup new nextjs project\n2. Install `@sentry/nextjs` then run\n3. Build application by running\n```\npnpm run build\n```\n\n### Expected Result\n\n`minimatch` should be part of the package and installed automatically\n\n### Actual Result\n\n`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.","author":{"url":"https://github.com/anuj9196","@type":"Person","name":"anuj9196"},"datePublished":"2025-08-06T17:28:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/17342"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a5aaa54c-e381-8665-c32f-56fc5e9c8eaf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A68C:25199C:323A0D:469721:6B04244B |
| html-safe-nonce | da7cff8f12d73f1d7e624105c81a8f55bc27ea4748dd96d673ac7cb731c41db1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjhDOjI1MTk5QzozMjNBMEQ6NDY5NzIxOjZCMDQyNDRCIiwidmlzaXRvcl9pZCI6Ijc0MTAyOTcyNDU4NTExOTg1MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3fbba29677096feb09309cad2a3cbabcfe0a613e1bf2ac8b28e1068edb0bf655 |
| hovercard-subject-tag | issue:3297487228 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/17342/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47e240420a056ef70b23b2bd6f58e53105453e75d683e4415f3686fbca3cdbf8/getsentry/sentry-javascript/issues/17342 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47e240420a056ef70b23b2bd6f58e53105453e75d683e4415f3686fbca3cdbf8/getsentry/sentry-javascript/issues/17342 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anuj9196 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7edccce04851591ee529948701779ce6819bc53 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width