Hi everyone,
I’m trying to connect Sentry to NextJS/React app. So far I’ve successfully connected from client (React) via @sentry/browser
, but if I try to connect from server-side (NextJS + Express) via @sentry/node
I get an error about missing dependency:
./node_modules/@sentry/node/dist/integrations/console.js Module not found: Can't resolve 'console' in '/node_modules/@sentry/node/dist/int egrations'
As a workaround I tried to install console
dependency manually but another one occured:
./node_modules/@sentry/node/dist/transports/base.js Module not found: Can't resolve 'fs' in '/node_modules/@sentry/node/dist/transpor ts'