Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.17.8 - error TS2304: Cannot find name 'Event' #4594

Closed
1 task done
Rory-Powell opened this issue Feb 16, 2022 · 1 comment
Closed
1 task done

v6.17.8 - error TS2304: Cannot find name 'Event' #4594

Rory-Powell opened this issue Feb 16, 2022 · 1 comment

Comments

@Rory-Powell
Copy link

Package + Version

  • @sentry/node

Version:

6.17.8

Description

Seeing an issue when trying to build a project that uses sentry node 6.17.8.

node_modules/@sentry/types/dist/envelope.d.ts:31:4 - error TS2304: Cannot find name 'Event'.

31 }, Event>;

When checking node modules for envelope.d.ts I can see there is no import for event:

import { SentryRequestType } from './request';
import { SdkInfo } from './sdkinfo';
import { Session, SessionAggregates } from './session';
import { Outcome } from './transport';
import { User } from './user';

Where as in source I can see the import here
https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/envelope.ts#L1

@Rory-Powell
Copy link
Author

I see now this will be fixed in 6.17.9
c7416da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant