-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not resolve dependency @capacitor/core #1
Comments
npm install @capacitor/core thats work for me |
Hello @ukaleem, Thank you for reaching out. Can you please tell us how are you integrating capacitor plugin into your project and which version of capacitor are you using? |
In my case I had a fresh Ionic project using Vue and I got the error when running |
I have found a very cool solution for the dependencies issue I'm 100% sure this will work for everyone,
There is a lot in this Ionic Official Extensions this fixes all kinds of issues, Try this, and thanks ionic team 😍! |
This is the only thing that worked for me. Thank you! |
Thank you, buddy. It worked well. |
Hello.
I'm trying to compile an ionic app that is using BlinkCard but I'm getting an error when it is installing the dependencies, here is the trace:
ionic cap build android --prod
npm ERR! A complete log of this run can be found in:
npm ERR! /var/root/.npm/_logs/2021-05-24T17_51_39_485Z-debug.log
I've already tried npm install, reinstalling the library and even deleting the package.json but none of these have worked.
Here's my package.json:
{
"name": "tdc",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "~11.2.0",
"@angular/core": "~11.2.0",
"@angular/forms": "~11.2.0",
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"@capacitor/core": "^2.4.7",
"@ionic/angular": "^5.5.2",
"@microblink/blinkcard-capacitor": "^2.3.0",
"postcss": "^8.3.0",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.4",
"@angular-eslint/builder": "2.0.2",
"@angular-eslint/eslint-plugin": "2.0.2",
"@angular-eslint/eslint-plugin-template": "2.0.2",
"@angular-eslint/template-parser": "2.0.2",
"@angular/cli": "~11.2.4",
"@angular/compiler": "~11.2.0",
"@angular/compiler-cli": "~11.2.0",
"@angular/language-service": "~11.2.0",
"@ionic/angular-toolkit": "^3.1.1",
"@ionic/lab": "3.2.10",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "4.16.1",
"@typescript-eslint/parser": "4.16.1",
"eslint": "^7.6.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsdoc": "30.7.6",
"eslint-plugin-prefer-arrow": "1.2.2",
"jasmine-core": "~3.7.1",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.2.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"typescript": "~4.0.2"
},
"description": "An Ionic project"
}
The text was updated successfully, but these errors were encountered: