Typescript errors
See original GitHub issueOS: Ubuntu 18.04. Node: v10.1.0 Using latest Noderizer
I get the following when i try to “npm run watch”
✔ success start › Exited gracefully!
ERROR in /home/benjamin/Development/NodeTs/NoderizerTest/node_modules/@types/node/index.d.ts(6208,55):
TS2304: Cannot find name 'Map'.
ERROR in /home/benjamin/Development/NodeTs/NoderizerTest/node_modules/@types/node/index.d.ts(6215,55):
TS2304: Cannot find name 'Set'.
ERROR in /home/benjamin/Development/NodeTs/NoderizerTest/node_modules/@types/node/index.d.ts(6219,64):
TS2304: Cannot find name 'Symbol'.
ERROR in /home/benjamin/Development/NodeTs/NoderizerTest/node_modules/@types/node/index.d.ts(6225,59):
TS2304: Cannot find name 'WeakMap'.
ERROR in /home/benjamin/Development/NodeTs/NoderizerTest/node_modules/@types/node/index.d.ts(6226,59):
TS2304: Cannot find name 'WeakSet'.
Version: typescript 2.8.3
Time: 4100ms
As i read about it it means i need to change the ES20** Version to ES 2015 or higher. Can’t really do that though without manipulating the main package afaik.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Documentation - Understanding Errors - TypeScript
Whenever TypeScript finds an error, it tries to explain what went wrong in as much detail as possible. Because its type system is...
Read more >TypeScript errors and how to fix them
TypeScript errors and how to fix them. Common Errors. Below you find a list of common TypeScript errors along with the buggy code...
Read more >Interpreting Errors - TypeScript Deep Dive - Gitbook
Since TypeScript is a heavily focused Developer Help oriented programming language, its errors messages try to be super helpful when something goes wrong....
Read more >Understanding TypeScript Errors for Beginners
A pretty common issue that new TypeScript developers encounter in a TypeScript based project is the “Could not find declaration file for module…...
Read more >Common TypeScript errors and how to fix them - Payton.Codes
Finding and reading TypeScript errors · Handling falsy variables · Something is not a string · Incorrect inference from JavaScript · Using Array....
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 Free
Top 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
Seems to be fixed 👍
Closing this for now. Feel free to reopen with more details and I’ll take a look!