Conference template build fails

Have gone though this process a couple of times: “start” the conference template, verify “serve” displays in browser, “ionic cordova build android --debug” always gives the following: I did notice that many of the package.json dependencies are hard-coded to a version, and in the fast have found that, when I used the blank template, I had to tell npm to use the most current (but that was difference error messages).

C:\Apps\Io\zap01>ionic cordova build android --debug
[WARN] Detected @ionic/cli-plugin-cordova in your package.json.

       As of CLI 3.8, it is no longer needed. You can uninstall it:

       npm uninstall --save-dev --save-exact @ionic/cli-plugin-cordova

[WARN] Detected @ionic/cli-plugin-ionic-angular in your package.json.

       As of CLI 3.8, it is no longer needed. You can uninstall it:

       npm uninstall --save-dev --save-exact @ionic/cli-plugin-ionic-angular

[INFO] Running app-scripts build: --platform android --target cordova

[09:13:58]  build dev started ...
[09:13:58]  clean started ...
[09:13:58]  clean finished in 13 ms
[09:13:58]  copy started ...
[09:13:58]  transpile started ...
[09:14:01]  transpile finished in 3.69 s
[09:14:01]  preprocess started ...
[09:14:01]  deeplinks started ...
[09:14:01]  deeplinks finished in 10 ms
[09:14:01]  preprocess finished in 12 ms
[09:14:01]  webpack started ...
[09:14:02]  copy finished in 4.09 s
[09:14:12]  webpack finished in 11.14 s
[09:14:12]  sass started ...
[09:14:14]  sass finished in 1.93 s
[09:14:14]  postprocess started ...
[09:14:14]  removed unused font files
[09:14:14]  postprocess finished in 31 ms
[09:14:14]  lint started ...
[09:14:14]  build dev finished in 16.89 s
> ionic cordova prepare
> cordova prepare
| Running command [09:14:18]  lint finished in 3.66 s
× Running command - failed!
[ERROR] An error occurred while running cordova prepare (exit code 1):


        (truncated) ... rocess.js:342:11)
        npm WARN addRemoteGit     at emitOne (events.js:96:13)
        npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
        npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:497:12)
        npm WARN addRemoteGit  git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git resetting remote
        C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
        npm WARN addRemoteGit
        npm WARN addRemoteGit     at ChildProcess.exithandler (child_process.js:204:12)
        npm WARN addRemoteGit     at emitTwo (events.js:106:13)
        npm WARN addRemoteGit     at ChildProcess.emit (events.js:191:7)
        npm WARN addRemoteGit     at maybeClose (internal/child_process.js:891:16)
        npm WARN addRemoteGit     at Socket.<anonymous> (internal/child_process.js:342:11)
        npm WARN addRemoteGit     at emitOne (events.js:96:13)
        npm WARN addRemoteGit     at Socket.emit (events.js:188:7)
        npm WARN addRemoteGit     at Pipe._handle.close [as _onclose] (net.js:497:12)
        npm WARN addRemoteGit   killed: false,
        npm WARN addRemoteGit   code: 1,
        npm WARN addRemoteGit   signal: null,
        npm WARN addRemoteGit   cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
        npm ERR! git clone --template=C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git
        C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322:
        Cloning into bare repository
        'C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322'...
        npm ERR! git clone --template=C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git
        C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322:
        fatal: Unable to find remote helper for 'https'
        npm ERR! Windows_NT 10.0.15063
        npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
        Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
        "cordova-plugin-wkwebview-engine@https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git"
        npm ERR! node v6.11.1
        npm ERR! npm  v3.10.10
        npm ERR! code 128

        npm ERR! Command failed: git -c core.longpaths=true clone
        --template=C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror
        https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git
        C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322
        npm ERR! Cloning into bare repository
        'C:\Users\T420Zugoto\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-ionic-team-cordova-plugin-wkwebview-engine-git-ae2e0322'...
        npm ERR! fatal: Unable to find remote helper for 'https'
        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!     C:\Apps\Io\zap01\node_modules\npm-debug.log
        Discovered plugin "ionic-plugin-keyboard" in config.xml. Adding it to the project
        Installing "ionic-plugin-keyboard" for android
        ANDROID_HOME=C:\Users\T420Zugoto\Android\sdk
        JAVA_HOME=C:\Program Files\java\jdk1.8.0_144
        Failed to install 'ionic-plugin-keyboard': CordovaError: Could not find gradle wrapper within Android SDK. Might
        need to update your Android SDK.
        Looked here: C:\Users\T420Zugoto\Android\sdk\tools\templates\gradle\wrapper
             at Object.module.exports.check_gradle (C:\Apps\Io\zap01\platforms\android\cordova\lib\check_reqs.js:90:25)
             at GradleBuilder.prepEnv (C:\Apps\Io\zap01\platforms\android\cordova\lib\builders\GradleBuilder.js:161:23)
             at Api.module.exports.runClean (C:\Apps\Io\zap01\platforms\android\cordova\lib\build.js:131:20)
             at C:\Apps\Io\zap01\platforms\android\cordova\Api.js:392:50
             at _fulfilled (C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:834:54)
             at self.promiseDispatch.done (C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:863:30)
             at Promise.promise.promiseDispatch (C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:796:13)
             at C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:604:44
             at runSingle (C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:137:13)
             at flush (C:\Apps\Io\zap01\platforms\android\cordova\node_modules\q\q.js:125:13)
        Failed to restore plugin "ionic-plugin-keyboard" from config.xml. You might need to try adding it again. Error:
        Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
        Looked here: C:\Users\T420Zugoto\Android\sdk\tools\templates\gradle\wrapper

C:\Apps\Io\zap01>ionic info

cli packages: (C:\Apps\Io\zap01\node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.1.0 ios 4.3.1
Ionic Framework    : ionic-angular 3.6.0

System:

Android SDK Tools : 26.0.2
Node              : v6.11.1
npm               : 3.10.10
OS                : Windows 10
type or paste code here

Something seems to be broken in your git installation. I would try removing and reinstalling git.