Getting `Cannot find module 'typescript'` after update to 1.7.0
See original GitHub issueAfter 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:
- Created 5 years ago
- Reactions:3
- Comments:17 (6 by maintainers)
Top 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 >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
1.7.1 works for me! Thanks for the quick fix @CiGit.
@pikax We need
typescript@2
as a peer dependency to prettier-tslint Seems it also works with atypescript@3
Closing. Fixed in 1.7.1