Topic: Admin Dashboard Pro Template
kalashnikov asked 5 years ago
Hello,
- If i want to use ng-admin-pro it is enought to install ng-uikit-pro-standard or i've to install separately?
- When i'am trying to install with access token ng-admin-pro i'm getting an error like: 3.The website: https://ng-admin-pro.mdbootstrap.com/ is not working for me.
Regards, Karol
kalashnikov answered 5 years ago
Hello,
yes this is my package.json:
{
"name": "business-card",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "npm run lint && ng build --prod --aot --source-map=false",
"deploy": "npm run build && firebase deploy",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "8.2.7",
"@angular/common": "8.2.7",
"@angular/compiler": "8.2.7",
"@angular/core": "8.2.7",
"@angular/fire": "5.2.1",
"@angular/forms": "8.2.7",
"@angular/platform-browser": "8.2.7",
"@angular/platform-browser-dynamic": "8.2.7",
"@angular/router": "8.2.7",
"@fortawesome/fontawesome-free": "5.6.3",
"@ngrx/effects": "8.3.0",
"@ngrx/entity": "8.3.0",
"@ngrx/store": "8.3.0",
"@ngx-translate/core": "11.0.1",
"@ngx-translate/http-loader": "4.0.0",
"@types/chart.js": "2.8.5",
"animate.css": "3.7.2",
"chart.js": "2.8.0",
"classlist.js": "1.1.20150312",
"date-fns": "2.2.1",
"easy-pie-chart": "2.1.7",
"firebase": "6.4.2",
"hammerjs": "2.0.8",
"lodash": "4.17.15",
"ng-uikit-pro-standard": "git+https://oauth2:<my-token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git",
"ngx-auto-unsubscribe": "3.0.1",
"rxjs": "6.5.3",
"screenfull": "5.0.0",
"tslib": "1.10.0",
"web-animations-js": "2.3.2",
"zone.js": "0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.803.5",
"@angular/cli": "8.3.5",
"@angular/compiler-cli": "8.2.7",
"@angular/language-service": "8.2.7",
"@types/jasmine": "3.4.0",
"@types/jasminewd2": "2.0.6",
"@types/lodash": "4.14.138",
"@types/node": "12.7.2",
"codelyzer": "5.1.0",
"husky": "3.0.5",
"jasmine-core": "3.4.0",
"jasmine-spec-reporter": "4.2.1",
"karma": "4.3.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "2.1.0",
"karma-jasmine": "2.0.1",
"karma-jasmine-html-reporter": "1.4.2",
"lint-staged": "9.2.5",
"protractor": "5.4.2",
"ts-node": "8.3.0",
"tslint": "5.20.0",
"tslint-angular": "3.0.2",
"typescript": "3.5.3"
},
"lint-staged": {
"*.ts": [
"tslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"//": "git+https://oauth2:<my-token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git"
}
And After I'm trying to install ng-admin-pro like this error has occur as I describe above:
npm install git+https://oauth2:<my-token>@git.mdbootstrap.com/mdb/angular/ng-admin-pro.git --save
I think the problem is on my side and i need to learn how repositories are build. If you could Explain me what i'am doing wrong :)
Regards, Karol
Arkadiusz Idzikowski staff answered 5 years ago
MDB Angular Pro (ng-uikit-pro-standard) is component library that you can use to build your own application. Ng-admin-pro is not something you can install in existing project, it's ready to use application (built with component from MDB Angular Pro) that you can edit to your needs.
You should have access to the ng-admin-pro zip version in your profile on mdbootstrap.com.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.3.0
- Device: na
- Browser: na
- OS: na
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 5 years ago
Ng-admin-pro is an admin dasboard template build with our pro Angular components. You probably removed .tgz archive from the ng-admin-pro folder but didn't remove the dependency from the package.json file. That's why you get this error. Could you show us the content of your package.json (please remove your private gitlab token if it's added there)?