pbreuss / wikitude-ionic-3-starter-app

This starter app is the fastest way to get you started with your own Augmented Reality projects with Wikitude and Ionic 3.
https://market.ionicframework.com/starters/wikitude-ionic-3-starter-app
23 stars 18 forks source link

Failed to fetch plugin #2

Closed rodelmarkamancio closed 6 years ago

rodelmarkamancio commented 6 years ago

Tried installing the starter app but when I try to execute ionic cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git this happened:

Error: Failed to fetch plugin https://github.com/Wikitude/wikitude-cordova-plugin.git via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! git fetch -a origin (https://github.com/Wikitude/wikitude-cordova-plugin.git) fatal: unable to access 'https://github.com/Wikitude/wikitude-cordova-plugin.git/': Couldn't resolve host 'github.com'
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "https://github.com/Wikitude/wikitude-cordova-plugin.git" "--production" "--save"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR! fatal: unable to access 'https://github.com/Wikitude/wikitude-cordova-plugin.git/': Couldn't resolve host 'github.com'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     G:\projects\htdocs\ionic\wikitude\wikitude-ionic-3-starter-app\WikitudeIonic3StarterApp\npm-debug.log

[ERROR] An error occurred while running cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git
        --sav... (exit code 1).

Tried using ionic cordova plugin add wikitude-cordova-plugin and encountered this error:

Error: Unpublished by medioman92 on 2016-01-08T17:55:21.988Z

[ERROR] An error occurred while running cordova plugin add wikitude-cordova-plugin --save

NPM version: 3.10.10 Ionic version: 3.19.1 Cordova version: 7.1.0

pbreuss commented 6 years ago

Hello, It looks to me you had an Internet connection problem, because the url is ok. Can you try again? Philipp

Von meinem iPhone gesendet

Am 29.01.2018 um 13:03 schrieb Rodel Amancio notifications@github.com:

Tried installing the starter app but when I try to execute ionic cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git this happened:

Error: Failed to fetch plugin https://github.com/Wikitude/wikitude-cordova-plugin.git via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: cmd: Command failed with exit code 1 Error output: npm ERR! git fetch -a origin (https://github.com/Wikitude/wikitude-cordova-plugin.git) fatal: unable to access 'https://github.com/Wikitude/wikitude-cordova-plugin.git/': Couldn't resolve host 'github.com' npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "https://github.com/Wikitude/wikitude-cordova-plugin.git" "--production" "--save" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code 128

npm ERR! Command failed: git -c core.longpaths=true fetch -a origin npm ERR! fatal: unable to access 'https://github.com/Wikitude/wikitude-cordova-plugin.git/': Couldn't resolve host 'github.com' npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request: npm ERR! G:\projects\htdocs\ionic\wikitude\wikitude-ionic-3-starter-app\WikitudeIonic3StarterApp\npm-debug.log

[ERROR] An error occurred while running cordova plugin add https://github.com/Wikitude/wikitude-cordova-plugin.git --sav... (exit code 1).

NPM version: 3.10.10 Ionic version: 3.19.1 Cordova version: 7.1.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

rodelmarkamancio commented 6 years ago

@pbreuss yeap it works now. Yesterday, I was trying to install these but got no luck of installing but I am pretty sure I had an internet connection at that time. Cheers, man.