prettier-vscode: Getting `Cannot find module 'typescript'` after update to 1.7.0
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.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 3
- Comments: 17 (6 by maintainers)
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