You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note the version 131 it wants to load indeed does not exists, when i run nodejs locally and test the code that is used by sentry node profiler i get this:
Welcome to Node.js v22.9.0.
Type ".help" for more information.
> const nodeAbi = require('node-abi');
undefined
> const node_process = require('node:process');
undefined
> nodeAbi.getAbi(node_process.versions.node, 'node');
'127'
>
The file with 127 does exist and sentry works normally
The docker file just uses the official docker image and nothing special:
# Use the official Node.js image as the base image
FROM node:current-alpine
# Set the working directory inside the container
WORKDIR /home/node/app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Install dependencies
RUN npm install
RUN npm install -g nodemon
# Start the server
CMD ["nodemon", "-x", "bin/www"]
I was forced to remove sentry from the apps within the company so we can deploy them and i rather would reactivate sentry.
The text was updated successfully, but these errors were encountered:
s1gr1d
changed the title
Crash on init within a docker container (but worked before in the container)
Crash on init within a docker container - fix: warn about Node ABI version
Oct 21, 2024
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nodejs
SDK Version
8.34.0
Framework Version
Express
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Run app within docker container
Expected Result
the add does not crash
Actual Result
The app crashes with:
Note the version
131
it wants to load indeed does not exists, when i run nodejs locally and test the code that is used by sentry node profiler i get this:The file with 127 does exist and sentry works normally
The docker file just uses the official docker image and nothing special:
I was forced to remove sentry from the apps within the company so we can deploy them and i rather would reactivate sentry.
The text was updated successfully, but these errors were encountered: