Comments (4)
Same issue when I upgraded to @sentry/astro v8 from my SSR Astro site on Netlify Functions
No build errors, no type errors, just fails render at runtime.
Tried 8.2.1, 8.2.0, 8.1.0
Only worked when I downgraded to 7.116.0
May 20, 11:06:20 AM: 60c44bc0 ERROR 16:06:24 [ERROR] Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/var/task/node_modules/@opentelemetry/instrumentation/hook.mjs' imported from /var/task/node_modules/@sentry/astro/node_modules/@sentry/node/esm/sdk/init.js
May 20, 11:06:20 AM: 60c44bc0 ERROR at finalizeResolution (node:internal/modules/esm/resolve:269:11)
May 20, 11:06:20 AM: 60c44bc0 ERROR at moduleResolve (node:internal/modules/esm/resolve:937:10)
May 20, 11:06:20 AM: 60c44bc0 ERROR at moduleResolveWithNodePath (node:internal/modules/esm/resolve:1161:14)
May 20, 11:06:20 AM: 60c44bc0 ERROR at defaultResolve (node:internal/modules/esm/resolve:1204:79)
May 20, 11:06:20 AM: 60c44bc0 ERROR at nextResolve (node:internal/modules/esm/hooks:866:28)
May 20, 11:06:20 AM: 60c44bc0 ERROR at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
May 20, 11:06:20 AM: 60c44bc0 ERROR at ModuleLoader.resolve (node:internal/modules/esm/loader:352:35)
May 20, 11:06:20 AM: 60c44bc0 ERROR at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
May 20, 11:06:20 AM: 60c44bc0 ERROR at ModuleLoader.import (node:internal/modules/esm/loader:322:34)
May 20, 11:06:20 AM: 60c44bc0 ERROR at Hooks.register (node:internal/modules/esm/hooks:165:51)
from sentry-javascript.
I've managed to fix this but it still doesn't work with another error I don't know how to fix
[nuxt] [request error] [unhandled] [500] ENOENT: no such file or directory, open '/frontend/.output/server/node_modules/vue/server-renderer/@vue/server-renderer'
from sentry-javascript.
hmm, this is weird - this should not happen, and we have some tests for this. One thing we can try is add some additional safeguards around this code to try to prevent it from failing - I'll do that, hopefully this helps!
from sentry-javascript.
Not sure it will fix since I also had issues with vue server renderer but we'll see
from sentry-javascript.
Related Issues (20)
- Property 'setupNestErrorHandler' does not exist on type 'typeof import("/app/node_modules/@sentry/node/types/index")' HOT 5
- [contextLines]: reduce memory usage HOT 3
- Ember Canary ember-release Test Failed HOT 2
- nextjs-14 (canary) Test Failed
- nextjs-app-dir (canary) Test Failed HOT 1
- Astro Integration throws error after upgrade to v8.3.0 HOT 8
- Add support for angular v18 HOT 1
- Mongo instrumentation doesn't work with promises HOT 4
- Replay no longer reexported by @sentry/nextjs after upgrade to v8 HOT 1
- Release v8 for loader script HOT 3
- Create versioned global sentry carrier object
- Astro integration follow the guide will get a error ENOENT: no such file or directory, open '/Users/xxx/astro-project/node_modules/@sentry/astro/esm/@sentry/node' HOT 1
- nextjs-15 (latest) Test Failed
- nextjs-14 (latest) Test Failed HOT 3
- Add React 19 peer dep HOT 2
- Sentry.feedbackIntegration TypeScript autocomplete not working
- Implement `metrics.timing()`
- The `failure_issue_threshold` does not take effect HOT 4
- Vercel integration is causing runtime errors in undici integration HOT 9
- Client-side sourceMappingURL is being erased despite of settings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-javascript.