question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typescript errors

See original GitHub issue

OS: 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sayorecommented, May 31, 2018

Seems to be fixed 👍

0reactions
Cretezycommented, May 31, 2018

Closing this for now. Feel free to reopen with more details and I’ll take a look!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found