[error] Unable to find node_modules/@capacitor/core

Although @capacitor/core is installed in my project (as can be seen in package.json). Terminal shows it’s missing.

package.json

terminal

executing npm install @capacitor/core creates this folder in project.

Backup first!
Do you see something when go to terminal and run "npx cap sync" or "npx cap sync android"?

Sometime it syncs perfectly, sometimes throws error.