Title: @sentry/utils fails to postinstall using latest yarn (v4.0.2) and pnpm (v8.14.1) · Issue #10150 · getsentry/sentry-javascript · GitHub
Open Graph Title: @sentry/utils fails to postinstall using latest yarn (v4.0.2) and pnpm (v8.14.1) · Issue #10150 · getsentry/sentry-javascript
X Title: @sentry/utils fails to postinstall using latest yarn (v4.0.2) and pnpm (v8.14.1) · Issue #10150 · 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/10150
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@sentry/utils fails to postinstall using latest yarn (v4.0.2) and pnpm (v8.14.1)","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/node\n\n### SDK Version\n\n7.93.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\n_No response_\n\n### SDK Setup\n\n_No response_\n\n### Steps to Reproduce\n\n```\r\n➜ mq-forge git:(main) ✗ cat /private/var/folders/79/w6yvk6jd3vvgtmx_1pg7fq3h0000gn/T/xfs-1d7e729a/build.log\r\n# This file contains the result of Yarn building a package (@forge/cli@npm:7.0.0::__archiveUrl=https%3A%2F%2Fpackages.atlassian.com%2Fapi%2Fnpm%2Fnpm-remote%2F%40forge%2Fcli%2F-%2Fcli-7.0.0.tgz)\r\n# Script name: postinstall\r\n\r\n/Users/dsorin/.yarn/berry/cache/@sentry-utils-npm-7.93.0-82a918ee1f-10c0.zip/node_modules/@sentry/utils/cjs/path.js:61\r\n const truncated = filename.length > 1024 ? `\u003ctruncated>${filename.slice(-1024)}` : filename;\r\n ^\r\n\r\nTypeError: Cannot read properties of undefined (reading 'length')\r\n at splitPath (/Users/dsorin/.yarn/berry/cache/@sentry-utils-npm-7.93.0-82a918ee1f-10c0.zip/node_modules/@sentry/utils/cjs/path.js:61:30)\r\n at Object.dirname (/Users/dsorin/.yarn/berry/cache/@sentry-utils-npm-7.93.0-82a918ee1f-10c0.zip/node_modules/@sentry/utils/cjs/path.js:187:18)\r\n at Object.createGetModuleFromFilename (/Users/dsorin/.yarn/berry/cache/@sentry-node-npm-7.93.0-4cfe51eb73-10c0.zip/node_modules/@sentry/node/cjs/module.js:15:20)\r\n at Object.\u003canonymous> (/Users/dsorin/.yarn/berry/cache/@sentry-node-npm-7.93.0-4cfe51eb73-10c0.zip/node_modules/@sentry/node/cjs/sdk.js:230:87)\r\n at Module._compile (node:internal/modules/cjs/loader:1376:14)\r\n at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)\r\n at require$$0.Module._extensions..js (/Users/dsorin/atlassian/merge-queue-forge/.pnp.cjs:18625:33)\r\n at Module.load (node:internal/modules/cjs/loader:1207:32)\r\n at Module._load (node:internal/modules/cjs/loader:1023:12)\r\n at require$$0.Module._load (/Users/dsorin/atlassian/merge-queue-forge/.pnp.cjs:18473:31)\r\n\r\nNode.js v20.10.0\r\n```\n\n### Expected Result\n\n N/a\n\n### Actual Result\n\nN/a","author":{"url":"https://github.com/1999","@type":"Person","name":"1999"},"datePublished":"2024-01-11T10:31:09Z","url":"https://github.com/getsentry/sentry-javascript/issues/10150"}
| 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:45dc9f95-77d0-4479-779c-2a9ac1c05d43 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9BE:1FAF:1CD5413:26C6260:6B044475 |
| html-safe-nonce | 6ad6e8a807a54557346feea81a7b6c5deaa5c92b4571995818f3deaa6e323b7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJFOjFGQUY6MUNENTQxMzoyNkM2MjYwOjZCMDQ0NDc1IiwidmlzaXRvcl9pZCI6IjQ5ODEzMTU1OTE1MjU5MDk2MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fd0c2af29f83394ed3c5bfccdc4695049c55a8a9dc5295178a78b80b85b72d78 |
| hovercard-subject-tag | issue:2076256119 |
| 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/10150/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15aadadea6113a2881a7a6ad367093ce85d7812cbf32854af06d720384bcd1fc/getsentry/sentry-javascript/issues/10150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15aadadea6113a2881a7a6ad367093ce85d7812cbf32854af06d720384bcd1fc/getsentry/sentry-javascript/issues/10150 |
| 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 | 1999 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| 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 | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| 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