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.

Getting `Cannot find module 'typescript'` after update to 1.7.0

See original GitHub issue

After update to 1.7.0 prettier stopped working and I’m getting the error

11/7/2018, 2:24:06 PM:
----------------------
Cannot find module 'typescript'

I’m using typescript@3.1.6, was working before the update.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aharvardcommented, Nov 7, 2018

1.7.1 works for me! Thanks for the quick fix @CiGit.

1reaction
CiGitcommented, Nov 7, 2018

@pikax We need typescript@2 as a peer dependency to prettier-tslint Seems it also works with a typescript@3

Closing. Fixed in 1.7.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Cannot find module 'typescript' in Angular 4?
3. Hi @Sajeetharan I have installed it globall using your command above. · 1. try to uninstall angular-cli globally, run npm cache clean...
Read more >
cannot find module '...' or its corresponding type declarations
I've been trying to deploy my nextjs app on Vercel, but got "Type error: cannot find module '...' or its corresponding type declarations" ......
Read more >
Cannot find module 'typescript' Error in TS | bobbyhadz
To solve the cannot find module 'typescript' error, make sure to install typescript globally by running the npm i -g typescript command and...
Read more >
error ts2307: cannot find module or its corresponding type ...
I am setting up a NodeJS + Mysql + Typescript + Docker app, but have a problem when I try to include the...
Read more >
Npm start doesn't work - M220JS - MongoDB
To resolve this I deleted the package-lock.json file, ran npm audit fix and npm install. Let me know if you are still facing...
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