Looking for help with keen-tracking.js dev environment

77 views
Skip to first unread message

Brandon

unread,
Jul 13, 2016, 1:23:26 AM7/13/16
to Keen IO Community
I am having trouble installing and setting up the development environment for keen-tracking.js. I followed the installation instructions, but got some warnings (see below) after running "npm install". I have been unable to resolve the dependency warnings and running gulp throws an error during minification.

My best guess is that the issue is with my installation of requirejs (and maybe the minification is failing because of a step before). I am new to gulp though, so I am not sure how to troubleshoot this effectively. I Googled a little but didn't see an obvious solution. See below for details of my setup and the warnings/errors I am seeing.

*** system setup ***
  • OS - Linux, Debian
  • node - v4.4.7
  • npm - 3.10.5
  • gulp - CLI version 3.9.1
  • other npm global packages via "~$ npm list -g --depth=0"
    • bo...@1.7.9
    • grun...@0.1.13
    • jsh...@2.9.2
    • live-...@1.0.0
    • polym...@0.12.0

*** running "~$ npm install" ***
[...]
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsev...@1.0.12
[...]
UNMET PEER DEPENDENCY phan...@1.9.20
[...]
UNMET PEER DEPENDENCY requirejs@^2.1.0
[...]
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsev...@1.0.12
npm WARN karma-r...@0.2.6 requires a peer of requirejs@^2.1.0 but none was installed.
npm WARN mocha-p...@3.6.0 requires a peer of phan...@1.9.1 - 1.9.7-15 but none was installed.

*** running "~$ gulp" ***
[22:13:08] Using gulpfile ~/Projects/keen-tracking.js/gulpfile.js
[22:13:08] Starting 'build:browserify'...
[22:13:08] Starting 'test:clean'...
[22:13:08] Finished 'test:clean' after 12 ms
[22:13:08] Starting 'test:browserify'...
[22:13:09] Finished 'build:browserify' after 893 ms
[22:13:09] Starting 'build:minify'...
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn java ENOENT
    at exports._errnoException (util.js:873:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickDomainCallback (node.js:397:17)

Reply all
Reply to author
Forward
0 new messages