Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot find module '@capacitor/core'.ts(2307)

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)

like image 652
Kamlesh Kumar Avatar asked Dec 10 '22 02:12

Kamlesh Kumar


1 Answers

The quick solution found here

$ npm install --save @capacitor/core @capacitor/cli
like image 157
Kamlesh Kumar Avatar answered May 28 '23 20:05

Kamlesh Kumar