I'm working on a Vue+Quasar project and trying to switch the store from Vuex to Pinia. I installed Pinia but I'm still getting an error message in PyCharm saying "Cannot find module 'pinia' or its corresponding type declarations".

I am using Webstorm 2022.3, and reopening the IDE does the trick. This might be an IDE issue that fails to reload node_module index information.
For VS Code, restart TypeScript Server
Ctrl + Shift + PTypescript: Restart TS ServerIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With