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

TS1005 Error amplitude/analytics-types/element-interaction.ts:70:39 ? expected During Angular build amplitude/analytics-browser version 2.9.3 #883

Open
RakeshrajA5 opened this issue Sep 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@RakeshrajA5
Copy link

TS1005 Error amplitude/analytics-types/element-interaction.ts:70:39 ? expected During Angular build amplitude/analytics-browser version 2.9.3

@RakeshrajA5 RakeshrajA5 added the bug Something isn't working label Sep 19, 2024
@izaaz
Copy link
Contributor

izaaz commented Sep 19, 2024

@RakeshrajA5 can you please try with the latest version to see if it solves the problem?

@Mercy811
Copy link
Contributor

Hi @RakeshrajA5, is it the same issue as #882? Could you run yarn list @amplitude/analytics-types in your project and share the screenshot? Thanks

@Abde-T
Copy link

Abde-T commented Sep 30, 2024

Getting the same error.

Error: node_modules/@amplitude/analytics-types/lib/esm/element-interactions.d.ts:70:64 - error TS1005: '?' expected.
Element: infer T extends abstract new (...args: any) => any;

running npm install @amplitude/analytics-types results in a successful build locally, but the error still occurs when starting the development server, or on the Netlify build.

@AyoubTRD
Copy link

AyoubTRD commented Oct 1, 2024

@izaaz @Mercy811 We have the same issue while building our Angular app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants