Skip to content

Remix Installation (Wizard) #10234

Description

@therealsiege

Is there an existing issue for this?

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://72d0d770e46bf0234fd3479c9e974bd0@o1350334.ingest.sentry.io/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 🤔

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions