Issue
I am currently building a plugin using TS which has some peer dependencies. I had to add install-peers-cli to make sure it installs the peers without changing package.json
and the build works fine with no issues.
Now the issue is that inside of VSCode, I am still getting the following for all of my peer dependencies.
Cannot find module 'moment-timezone'.ts(2307)
Just wondering if there is a way to fix this issue.
Solution
You can use this one...
npm i install-peers -D
Answered By - Jonathan Mwaniki
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.