Topic: Installation error
Frank Kreutzer asked 5 years ago
I personally own a license for MDB Angular PRO (1 person, unlimited projects). We are currently testing out MDB Angular PRO at the client’s site; they are interested in purchasing licenses if it works as they expect. We'd also like to know if there's any trial version available so that we can test before purchasing?
The site works correctly on my own device but when we try to install it on another one, we get an error as show in the log below.Is this error due to the license restraints and we’d need a larger license? Or is there some other technical cause?
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'git+https://oauth2:[MY-ACCESS-TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git',
1 verbose cli '--save'
1 verbose cli ]
2 info using npm@6.10.2
3 info using node@v12.9.0
4 verbose npm-session fb5e7289efcfaa49
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for git+https://oauth2:[MY-ACCESS-TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git Error while executing:
7 silly fetchPackageMetaData undefined ls-remote -h -t https://oauth2:[MY-ACCESS-TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
7 silly fetchPackageMetaData
7 silly fetchPackageMetaData
7 silly fetchPackageMetaData spawn git ENOENT
8 timing stage:rollbackFailedOptional Completed in 1ms
9 timing stage:runTopLevelLifecycles Completed in 2641ms
10 verbose stack Error: spawn git ENOENT
10 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
10 verbose stack at onErrorNT (internal/child_process.js:456:16)
10 verbose stack at processTicksAndRejections (internal/process/task_queues.js:77:11)
11 verbose cwd C:\Users\kng\Documents\Sources\Development\Catapult\Portal.RFQ\ANSI.Catapult.Portal.RFQ\ClientApp
12 verbose Windows_NT 10.0.14393
13 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "git+https://oauth2:[MY- ACCESS-TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git" "--save"
14 verbose node v12.9.0
15 verbose npm v6.10.2
16 error path git
17 error code ENOENT
18 error errno ENOENT
19 error syscall spawn git
20 error enoent Error while executing:
20 error enoent undefined ls-remote -h -t https://oauth2:[MY-ACCESS- TOKEN]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
20 error enoent
20 error enoent
20 error enoent spawn git ENOENT
21 error enoent This is related to npm not being able to find a file.
22 verbose exit [ 1, true ]
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.1.1
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 5 years ago
It looks like a problem with git. Is it installed on this device?
We don't have a trial version for MDB Angular Pro, but you can test our product on MDB Angular free version: https://github.com/mdbootstrap/Angular-Bootstrap-with-Material-Design (however, not all components are available in the free version).
If you have any questions about our product, we will be happy to answer them.
Frank Kreutzer commented 5 years ago
@Arkadiusz Idzikowski We're unable to confirm if git is installed on the device as the system has currently locked us out. But to clarify, we would need to have git installed on it, correct?
Frank Kreutzer commented 5 years ago
@Arkadiusz Idzikowski It seems that git was not installed on the machine and it seems to have solved this issue.
Arkadiusz Idzikowski staff commented 5 years ago
Glad it works. In this case you need to install git because the library is installed from our gitlab server. As a pro user you should also have access to the zip version of our product. In this version you can find archive with
.tgz
extension.Another way to install MDB Angular Pro would be to copy this archive to the root folder of your project and use
npm install archive-name.tgz --save
command.