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.
你可以用这个...
npm i install-peers -D
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.