-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.93.0
Framework Version
Remix Run 1.9.0
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: "https://[email protected]/4505785764085760",
tracesSampleRate: 1
});
Steps to Reproduce
Remix Wizard
After installing using the wizard npx @sentry/wizard@latest -i remix
my Remix v1 server is broken. In the meantime I will upgrade Remix to v2... any suggestions would be appreciated. Sentry is my favorite tool!
Expected Result
😢 We expect the app to render properly with Sentry monitoring enabled.
Actual Result
Lambda init error
Error: TypeError: Cannot read properties of undefined (reading 'length')
Lambda: @http any /*
Source: /Users/cj/ComSci/Code/app.io/server
: Cannot read properties of undefined (reading 'length')
Stack trace:
TypeError: Cannot read properties of undefined (reading 'length'), at splitPath (/Users/cj/ComSci/Code/app.io/node_modules/@sentry/src/path.ts:59:30), at Object.dirname (/Users/cj/ComSci/Code/app.io/node_modules/@sentry/src/path.ts:185:82), at Object.createGetModuleFromFilename (/Users/cj/ComSci/Code/app.io/node_modules/@sentry/src/module.ts:13:22), at Object. (/Users/cj/ComSci/Code/app.io/node_modules/@sentry/src/sdk.ts:243:86), at Module._compile (node:internal/modules/cjs/loader:1256:14), at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10), at Module.load (node:internal/modules/cjs/loader:1119:32), at Function.Module._load (node:internal/modules/cjs/loader:960:12), at Module.require (node:internal/modules/cjs/loader:1143:19), at require (node:internal/modules/cjs/helpers:110:18)
Using the manual method of installation produced the same results 🤔
Metadata
Metadata
Assignees
Labels
Projects
Status
No status