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/node
SDK Version
9.18.0
Framework Version
React Router 7.6.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Latest SDK version is throwing an error while installing it using a Windows PC.
ERROR Command failed with exit code 1: git ls-remote --refs https://github.com/getsentry/fastify-otel.git otel-v1
'git' is not recognized as an internal or external command,
operable program or batch file.
This error happened while installing the dependencies of @sentry/node@9.18.0
pnpm: Command failed with exit code 1: git ls-remote --refs https://github.com/getsentry/fastify-otel.git otel-v1
'git' is not recognized as an internal or external command,
operable program or batch file.
at makeError (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:14530:17)
at handlePromise (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:15101:33)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async getRepoRefs (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:53005:23)
at async resolveRef (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:53017:20)
at async resolveGit (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:52957:24)
at async Object.resolve (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:59387:251)
at async run (C:\Users\gabi_\AppData\Local\node\corepack\v1\pnpm\10.10.0\dist\pnpm.cjs:100003:23)
Progress: resolved 1242, reused 1105, downloaded 0, added 0
9.17.0 works just fine.
Steps to Reproduce
- Use a Windows PC
- Install @sentry/node pkg
- pnpm i
- Fails
Expected Result
To install the package without any issues using a Windows PC.
Actual Result
Fails because it's running a git command.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner