Giter Club home page Giter Club logo

Comments (5)

raethlo avatar raethlo commented on May 28, 2024 1

Hmm, yeah, the symptoms are similar to pnpm/pnpm#4649 I'll try some of the fixes that people mentioned in the comments and I'll report back. Worst case I guess a hacky fix could be to somehow always install @sentry/cli fresh 🤔

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on May 28, 2024

Hi, thanks for writing in about this. The build failing non-deterministically seems very weird to me but we had issues with Sentry CLI + Vercel before. Is there anything else in the build logs worth sharing?

from sentry-javascript-bundler-plugins.

github-actions avatar github-actions commented on May 28, 2024

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

from sentry-javascript-bundler-plugins.

raethlo avatar raethlo commented on May 28, 2024

Hey all 👋🏻 we are experiencing the same issue and there is not much to go after. @hardyjosh any chance you figured out what the issue was?

Our sentry package versions:

"@sentry/react": "^7.50.0",
"@sentry/tracing": "^7.50.0",
"@sentry/vite-plugin": "0.7.2",

The log from vercel build:

[sentry-vite-plugin] Info: Sending error and performance telemetry data to Sentry.
--
13:09:43.770 | [sentry-vite-plugin] Info: To disable telemetry, set `options.telemetry` to `false`.
13:09:43.772 | ✓ 0 modules transformed.
13:09:43.772 | [sentry-plugin] spawn /vercel/path0/node_modules/.pnpm/@[email protected]/node_modules/@sentry/cli/sentry-cli ENOENT
13:09:43.772 | error during build:
13:09:43.772 | Error: spawn /vercel/path0/node_modules/.pnpm/@[email protected]/node_modules/@sentry/cli/sentry-cli ENOENT
13:09:43.772 | at ChildProcess._handle.onexit (node:internal/child_process:283:19)
13:09:43.772 | at onErrorNT (node:internal/child_process:476:16)
13:09:43.773 | at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
13:09:43.780 | ELIFECYCLE  Command failed with exit code 1.
13:09:43.803 | Error: Command "pnpm build && pnpm run sourcemaps:clear" exited with 1
13:09:44.548 | Deployment completed
13:09:44.157 | BUILD_UTILS_SPAWN_1: Command "pnpm build && pnpm run sourcemaps:clear" exited with 1

Okay now that I've put this together, I have actually noticed the part that seems wrong

13:09:43.772 | ✓ 0 modules transformed.

Healthy builds do have a non-zero number there as well as additional logs + rebuild on a deployment that is failing this way seems to produce a healthy build again.

from sentry-javascript-bundler-plugins.

lforst avatar lforst commented on May 28, 2024

Hmm I assume this is somehow related to the build cache. The Sentry CLI binary, which can't be found here, is installed via a post-install script (trust me I don't like this but fixing this is gonna take a while) and maybe the binary isn't stored across builds.

Maybe it's related to pnpm/pnpm#4649 and is solved by setting side-effects-cache=false in pnpm?

from sentry-javascript-bundler-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.