Typescript build error : v5.7.0
See original GitHub issueHello i got some strange compilation error on node only project :
node_modules/@sentry/utils/dist/is.d.ts:64:51 - error TS2304: Cannot find name 'Event'.
64 export declare function isEvent(wat: any): wat is Event;
~~~~~
node_modules/@sentry/utils/dist/is.d.ts:72:53 - error TS2304: Cannot find name 'Element'.
72 export declare function isElement(wat: any): wat is Element;
~~~~~~~
node_modules/@sentry/utils/dist/misc.d.ts:89:48 - error TS2304: Cannot find name 'Node'.
89 export declare function htmlTreeAsString(elem: Node): string;
Version:
“@sentry/node”: “^5.7.0”,
node : v10.16.3
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them.
Read more >Error: TSError: Unable to compile TypeScript - Stack Overflow
I had met same issue. First I remove ts-node and typescript from package.json . then, npm install ts-node --save-dev npm install typescript ......
Read more >TS Playground - An online editor for exploring TypeScript and ...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Read more >TypeScript configuration - Angular
TypeScript is a primary language for Angular application development. It is a superset of JavaScript with design-time support for type safety and tooling....
Read more >ts-node - npm
It is important to differentiate between errors from ts-node, errors from the TypeScript compiler, and errors from node . It is also important ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, it’s working by removing the line lib.
Tanks you !!
Fixed in
5.7.1