-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@sentry/vite-plugin build fails when invoking sentry-debug-id-upload-plugin #414
Comments
@ThorntonStuart Hm. Can you verify that the CLI binary is executable? (check permissions and so on) Thanks! |
@lforst added this to the container to try to check and still encountering the issue
|
@ThorntonStuart ok so theres |
Ah I see, thank you. Added the following - the first permissions structure mirrors my local setup in which I am able to run through the entire build process without issue. The CLI seems to be executable on install anyway:
Still getting the same error unfortunately. Only discernible change in output is that I can now see the file list with the computed gzip sizes before encountering the error however that is the same whether I alter CLI permissions or not:
|
Hm, we're reaching the point where I might be a bit lost. Can you try two more things:
Thanks! |
@lforst tried both of those to no avail unfortunately however after some further digging I found this issue on the CLI repo (getsentry/sentry-cli#1317) which seems to be the issue I'm having so just playing around with some of the recommended solutions on there. Happy to close this, thanks for your help! |
@ThorntonStuart no need to close this if you feel like this is a proper issue. I am still confused as to why you might be getting the wrong binary since you are installing inside the build. |
Environment
vite
: 4.4.9@sentry/vite-plugin
: 2.7.1Other plugins:
laravel-vite-plugin
: 0.8.0@vitejs/plugin-vue
: 4.3.1Steps to Reproduce
vite.config.js
Dockerfile
Expected Result
Successful build. Running with
npm config set ignore-scripts false
(noticed from other issues that this can sometimes be a problem). Added debug steps -./node_modules/.bin/sentry-cli --help
has verified that the CLI has installed in the post-install steps by outputting help options. Running outside of container completes successful build.Actual Result
The text was updated successfully, but these errors were encountered: