StartPolymer / polymer-starter-kit-plus-old

A starting point for building Single-Page Applications with Polymer 1.x
Other
78 stars 26 forks source link

`gulp init` fails #53

Open Boscop opened 7 years ago

Boscop commented 7 years ago

I downloaded the zip of the master and ran npm run install:complete which succeeded and then gulp init but this fails. (Btw, I'm using the Git Shell on Windows 8.1.)

D:\3rdparty\polymer-starter-kit-plus> gulp init
fatal: Not a git repository (or any of the parent directories): .git
Warning: Can't run "git describe" for determine app version
[21:44:42] Using gulpfile D:\3rdparty\polymer-starter-kit-plus\gulpfile.js
[21:44:42] Starting 'init'...
[21:44:42] Starting 'download:analytics'...
[21:44:42] Starting 'download:fonts'...
buffer.js:262
  throw new TypeError(kFromErrorMsg);
  ^

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at fromObject (buffer.js:262:9)
    at Function.Buffer.from (buffer.js:101:10)
    at new Buffer (buffer.js:80:17)
    at Request.downloadHandler [as _callback] (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\index
.js:37:57)
    at self.callback (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\node_modules\request\request.j
s:186:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\node_modules\request\
request.js:845:8)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)

D:\3rdparty\polymer-starter-kit-plus> gulp download:fonts
fatal: Not a git repository (or any of the parent directories): .git
Warning: Can't run "git describe" for determine app version
[21:46:43] Using gulpfile D:\3rdparty\polymer-starter-kit-plus\gulpfile.js
[21:46:43] Starting 'download:fonts'...
[21:46:49] Copy downloaded WOFF fonts to app/themes/default-theme/fonts dir: all files 18.58 kB
[21:46:49] Finished 'download:fonts' after 5.97 s

D:\3rdparty\polymer-starter-kit-plus> gulp init
fatal: Not a git repository (or any of the parent directories): .git
Warning: Can't run "git describe" for determine app version
[21:46:57] Using gulpfile D:\3rdparty\polymer-starter-kit-plus\gulpfile.js
[21:46:57] Starting 'init'...
[21:46:57] Starting 'download:analytics'...
[21:46:57] Starting 'download:fonts'...
[21:46:57] Copy downloaded WOFF fonts to app/themes/default-theme/fonts dir: all files 18.58 kB
[21:46:57] Finished 'download:fonts' after 214 ms
buffer.js:262
  throw new TypeError(kFromErrorMsg);
  ^

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at fromObject (buffer.js:262:9)
    at Function.Buffer.from (buffer.js:101:10)
    at new Buffer (buffer.js:80:17)
    at Request.downloadHandler [as _callback] (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\index
.js:37:57)
    at self.callback (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\node_modules\request\request.j
s:186:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (D:\3rdparty\polymer-starter-kit-plus\node_modules\gulp-download\node_modules\request\
request.js:845:8)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)

As you see I ran gulp download:fonts manually afterwards and that succeeded. But after that, gulp init still fails.