Kamlesh Kumar
Kamlesh Kumar

Reputation: 1680

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)

Upvotes: 5

Views: 16423

Answers (1)

Kamlesh Kumar
Kamlesh Kumar

Reputation: 1680

The quick solution found here

$ npm install --save @capacitor/core @capacitor/cli

Upvotes: 17

Related Questions