Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Build issue #4

@liveangel-js

Description

@liveangel-js

Hi, I just download your source code, and build it. However, it doesn't work.
Then, I compare my tank-browser.min.js with your version under /dist/js/.
I found they don't match exactly with each other in many code segment. Is there something wrong with your source code?
Here is the my build process:

pm install
npm WARN package.json tank-browser@0.1.8 license should be a valid SPDX license expression
npm WARN deprecated gulp-minify-css@1.2.4: Please use gulp-clean-css

> file-dependencies@1.2.1 preinstall /Users/liveangel/Downloads/package/node_modules/file-dependencies
> npm install q@1.1.2 request@2.53.0

npm WARN package.json file-dependencies@1.2.1 No repository field.
q@1.1.2 node_modules/q

request@2.53.0 node_modules/request
├── aws-sign2@0.5.0
├── forever-agent@0.5.2
├── tunnel-agent@0.4.3
├── caseless@0.9.0
├── oauth-sign@0.6.0
├── stringstream@0.0.5
├── isstream@0.1.2
├── json-stringify-safe@5.0.1
├── tough-cookie@2.2.2
├── qs@2.3.3
├── node-uuid@1.4.7
├── mime-types@2.0.14 (mime-db@1.12.0)
├── http-signature@0.10.1 (assert-plus@0.1.5, ctype@0.5.3, asn1@0.1.11)
├── combined-stream@0.0.7 (delayed-stream@0.0.5)
├── form-data@0.2.0 (async@0.9.2)
├── bl@0.9.5 (readable-stream@1.0.34)
└── hawk@2.3.1 (cryptiles@2.0.5, boom@2.10.1, sntp@1.0.9, hoek@2.16.3)
npm WARN deprecated graceful-fs@3.0.8: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

> file-dependencies@1.2.1 postinstall /Users/liveangel/Downloads/package/node_modules/file-dependencies
> node file-dependencies.js

file-dependencies has finished
npm WARN peerDependencies The peer dependency stream-browserify@* included from bl will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
|
> fsevents@1.0.12 install /Users/liveangel/Downloads/package/node_modules/gulp-watch/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  COPY /Users/liveangel/Downloads/package/node_modules/gulp-watch/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
underscore@1.8.3 node_modules/underscore

mustache@1.2.0 node_modules/mustache

file-dependencies@1.2.1 node_modules/file-dependencies

connect@3.4.1 node_modules/connect
├── utils-merge@1.0.0
├── parseurl@1.3.1
├── debug@2.2.0 (ms@0.7.1)
└── finalhandler@0.4.1 (escape-html@1.0.3, unpipe@1.0.0, on-finished@2.3.0)

font-awesome@4.6.1 node_modules/font-awesome

gulp-handlebars@4.0.0 node_modules/gulp-handlebars
└── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34)

gulp-concat@2.6.0 node_modules/gulp-concat
├── concat-with-sourcemaps@1.0.4 (source-map@0.5.6)
└── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34)

gulp-inject@1.5.0 node_modules/gulp-inject
└── event-stream@3.3.2 (pause-stream@0.0.11, stream-combiner@0.0.4, duplexer@0.1.1, from@0.1.3, map-stream@0.1.0, split@0.3.3, through@2.3.8)

gulp-sourcemaps@1.6.0 node_modules/gulp-sourcemaps
├── graceful-fs@4.1.4
├── convert-source-map@1.2.0
├── strip-bom@2.0.0 (is-utf8@0.2.1)
├── vinyl@1.1.1 (clone-stats@0.0.1, replace-ext@0.0.1, clone@1.0.2)
└── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)

gulp-batch@1.0.5 node_modules/gulp-batch
├── async-done@1.2.0 (stream-exhaust@1.0.1, end-of-stream@1.1.0, next-tick@0.2.2, once@1.3.3)
└── stream-array@1.1.2 (readable-stream@2.1.2)

gulp-exec@2.1.2 node_modules/gulp-exec
├── gulplog@1.0.0 (glogg@1.0.0)
└── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)

bootstrap@3.3.6 node_modules/bootstrap

gulp-minify-css@1.2.4 node_modules/gulp-minify-css
├── object-assign@4.1.0
├── readable-stream@2.1.2 (string_decoder@0.10.31, inherits@2.0.1, util-deprecate@1.0.2, process-nextick-args@1.0.7, core-util-is@1.0.2, isarray@1.0.0)
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.6)
├── vinyl-bufferstream@1.0.1 (bufferstreams@1.0.1)
└── clean-css@3.4.12 (commander@2.8.1, source-map@0.4.4)

gulp-livereload@3.8.1 node_modules/gulp-livereload
├── debug@2.2.0 (ms@0.7.1)
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.5, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── lodash.assign@3.2.0 (lodash.keys@3.1.2, lodash._baseassign@3.2.0, lodash._createassigner@3.1.1)
├── event-stream@3.3.2 (pause-stream@0.0.11, duplexer@0.1.1, stream-combiner@0.0.4, from@0.1.3, map-stream@0.1.0, split@0.3.3, through@2.3.8)
└── mini-lr@0.1.9 (parseurl@1.3.1, livereload-js@2.2.2, qs@2.2.5, body-parser@1.14.2, faye-websocket@0.7.3)

gulp@3.9.1 node_modules/gulp
├── interpret@1.0.1
├── pretty-hrtime@1.0.2
├── deprecated@0.0.1
├── archy@1.0.0
├── tildify@1.2.0 (os-homedir@1.0.1)
├── minimist@1.2.0
├── v8flags@2.0.11 (user-home@1.1.1)
├── semver@4.3.6
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, strip-ansi@3.0.1, has-ansi@2.0.0)
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── liftoff@2.2.1 (extend@2.0.1, rechoir@0.6.2, flagged-respawn@0.3.2, findup-sync@0.3.0, resolve@1.1.7)
└── vinyl-fs@0.3.14 (graceful-fs@3.0.8, strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, through2@0.6.5, mkdirp@0.5.1, glob-stream@3.1.18, glob-watcher@0.0.6)

gulp-util@3.0.7 node_modules/gulp-util
├── array-differ@1.0.0
├── array-uniq@1.0.2
├── object-assign@3.0.0
├── beeper@1.1.0
├── lodash._reevaluate@3.0.0
├── lodash._reescape@3.0.0
├── lodash._reinterpolate@3.0.0
├── replace-ext@0.0.1
├── fancy-log@1.2.0 (time-stamp@1.0.1)
├── has-gulplog@0.1.0 (sparkles@1.0.0)
├── minimist@1.2.0
├── vinyl@0.5.3 (clone-stats@0.0.1, clone@1.0.2)
├── gulplog@1.0.0 (glogg@1.0.0)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1)
├── lodash.template@3.6.2 (lodash._basecopy@3.0.1, lodash.restparam@3.6.1, lodash.templatesettings@3.1.1, lodash._isiterateecall@3.0.9, lodash._basevalues@3.0.0, lodash._basetostring@3.0.1, lodash.escape@3.2.0, lodash.keys@3.1.2)
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)
├── multipipe@0.1.2 (duplexer2@0.0.2)
└── dateformat@1.0.12 (get-stdin@4.0.1, meow@3.7.0)

gulp-uglify@1.5.3 node_modules/gulp-uglify
├── uglify-save-license@0.4.1
├── deap@1.0.0
├── isobject@2.1.0 (isarray@1.0.0)
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.6)
├── fancy-log@1.2.0 (time-stamp@1.0.1, chalk@1.1.3)
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)
└── uglify-js@2.6.2 (async@0.2.10, uglify-to-browserify@1.0.2, source-map@0.5.6, yargs@3.10.0)

gulp-clean@0.3.2 node_modules/gulp-clean
├── through2@0.4.2 (readable-stream@1.0.34, xtend@2.1.2)
├── rimraf@2.5.2 (glob@7.0.3)
└── gulp-util@2.2.20 (lodash._reinterpolate@2.4.1, minimist@0.2.0, chalk@0.5.1, vinyl@0.2.3, through2@0.5.1, lodash.template@2.4.1, multipipe@0.1.2, dateformat@1.0.12)

gulp-declare@0.3.0 node_modules/gulp-declare
├── xtend@4.0.1
├── nsdeclare@0.1.0
└── vinyl-map@1.0.1 (through2@0.4.2, new-from@0.0.3, stream-browserify@2.0.1, bl@0.7.0)

handlebars@3.0.3 node_modules/handlebars
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── source-map@0.1.43 (amdefine@1.0.0)
└── uglify-js@2.3.6 (async@0.2.10, optimist@0.3.7)

sigma@1.0.3 node_modules/sigma

gulp-connect@2.3.1 node_modules/gulp-connect
├── connect-livereload@0.5.4
├── event-stream@3.3.2 (pause-stream@0.0.11, from@0.1.3, duplexer@0.1.1, stream-combiner@0.0.4, map-stream@0.1.0, split@0.3.3, through@2.3.8)
├── tiny-lr@0.2.1 (parseurl@1.3.1, livereload-js@2.2.2, qs@5.1.0, debug@2.2.0, body-parser@1.14.2, faye-websocket@0.10.0)
└── connect@2.30.2 (cookie@0.1.3, bytes@2.1.0, cookie-signature@1.0.6, utils-merge@1.0.0, content-type@1.0.2, pause@0.1.0, on-headers@1.0.1, parseurl@1.3.1, response-time@2.3.1, fresh@0.3.0, vhost@3.0.2, basic-auth-connect@1.0.0, cookie-parser@1.3.5, depd@1.0.1, qs@4.0.0, connect-timeout@1.6.2, method-override@2.3.5, serve-favicon@2.3.0, http-errors@1.3.1, debug@2.2.0, finalhandler@0.4.0, morgan@1.6.1, express-session@1.11.3, type-is@1.6.12, multiparty@3.3.2, serve-static@1.10.2, compression@1.5.2, errorhandler@1.4.3, csurf@1.8.3, body-parser@1.13.3, serve-index@1.7.3)

codemirror@5.14.2 node_modules/codemirror

gulp-wrap@0.11.0 node_modules/gulp-wrap
├── tryit@1.0.2
├── consolidate@0.11.0
├── fs-readfile-promise@1.1.0 (graceful-fs@3.0.8)
├── node.extend@1.1.5 (is@3.1.0)
├── es6-promise@2.3.0
├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34)
├── vinyl-bufferstream@1.0.1 (bufferstreams@1.0.1)
├── js-yaml@3.6.0 (esprima@2.7.2, argparse@1.0.7)
└── lodash@3.10.1

gulp-jshint@1.12.0 node_modules/gulp-jshint
├── minimatch@2.0.10 (brace-expansion@1.1.4)
├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34)
├── rcloader@0.1.2 (lodash@2.4.2, rcfinder@0.1.9)
├── lodash@3.10.1
└── jshint@2.9.2 (strip-json-comments@1.0.4, exit@0.1.2, console-browserify@1.1.0, shelljs@0.3.0, cli@0.6.6, htmlparser2@3.8.3, lodash@3.7.0)

linkurious@1.0.6 node_modules/linkurious
└── xlsx@0.7.12 (adler-32@0.3.0, crc-32@0.4.0, cfb@0.10.3, commander@2.9.0, jszip@2.4.0, codepage@1.3.8, ssf@0.8.2)

gulp-less@3.1.0 node_modules/gulp-less
├── object-assign@4.1.0
├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.6)
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6)
├── less@2.7.1 (graceful-fs@4.1.4, mime@1.3.4, image-size@0.5.0, source-map@0.5.6, errno@0.1.4, mkdirp@0.5.1, promise@7.1.1)
└── accord@0.23.0 (indx@0.2.3, convert-source-map@1.2.0, semver@5.1.0, fobject@0.0.4, glob@7.0.3, when@3.7.7, resolve@1.1.7, uglify-js@2.6.2, lodash@4.11.2)

gulp-watch@4.3.5 node_modules/gulp-watch
├── path-is-absolute@1.0.0
├── glob2base@0.0.12 (find-index@0.1.1)
├── vinyl@0.5.3 (clone-stats@0.0.1, replace-ext@0.0.1, clone@1.0.2)
├── readable-stream@2.1.2 (string_decoder@0.10.31, inherits@2.0.1, process-nextick-args@1.0.7, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0)
├── vinyl-file@1.3.0 (graceful-fs@4.1.4, strip-bom@2.0.0, strip-bom-stream@1.0.0, vinyl@1.1.1)
├── glob@5.0.15 (inherits@2.0.1, once@1.3.3, inflight@1.0.4, minimatch@3.0.0)
├── anymatch@1.3.0 (arrify@1.0.1, micromatch@2.3.8)
└── chokidar@1.4.3 (inherits@2.0.1, glob-parent@2.0.0, async-each@1.0.0, is-glob@2.0.1, is-binary-path@1.0.1, readdirp@2.0.0, fsevents@1.0.12)

~/Downloads/package ⌚ 13:27:47
$ gulp
[13:28:57] Using gulpfile ~/Downloads/package/gulpfile.js
[13:28:57] Starting 'less'...
[13:28:57] Starting 'template'...
[13:28:57] Starting 'assets'...
[13:28:57] Starting 'webserver'...
[13:28:57] Finished 'webserver' after 18 ms
[13:28:57] Starting 'watch'...
[13:28:57] Finished 'watch' after 9.74 ms
[13:28:57] Server started http://localhost:8001
[13:28:57] LiveReload started on port 35729
[13:29:00] Finished 'less' after 2.7 s
[13:29:00] Finished 'template' after 2.75 s
[13:29:00] Starting 'js'...
[13:29:00] Finished 'assets' after 2.84 s
[13:29:00] Finished 'js' after 170 ms
[13:29:00] Starting 'package'...
[13:29:00] gulp-inject 2 files into index.html.
[13:29:00] Finished 'package' after 13 ms
[13:29:00] Starting 'build'...
[13:29:00] Finished 'build' after 8.71 μs
[13:29:00] Starting 'default'...
[13:29:00] Finished 'default' after 34 μs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions