When I integrate Capacitor for the first time in ionic framework.
Error comes on this line:
import { Plugins } from '@capacitor/core';
Cannot find module '@capacitor/core'.ts(2307)
The quick solution found here
$ npm install --save @capacitor/core @capacitor/cli
If 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