splunk / battlecat-poll

Real-time poll demo via Splunk HTTP event collector
Other
6 stars 2 forks source link

ERROR in Path must be a string. Received undefined #3

Open J-C-B opened 7 years ago

J-C-B commented 7 years ago

Hi Guys,

Been trying to install this for a while now but no luck - I get the error

ERROR in Path must be a string. Received undefined

I have tried to build parallel-piper too and end up with the same error - i have configured the build.sh with the required

john@MBP:~/voter/battlecat-poll-master$ cat build.sh
# Hostname of the Splunk server with the HTTP input enabled
export PP_SPLUNK_HOST=148.166.249.99
# Port of the Splunk HTTP input
export PP_SPLUNK_PORT=8088
# `true` if SSL is enabled for the Splunk HTTP input
export PP_SPLUNK_SSL=true
# Splunk HTTP input token
export PP_SPLUNK_TOKEN=8D6E5F10-E81A-fooo-9295-6B7282CDCD28

npm install

rm -rf dist/

Below is the full output, any tips? if i get it going happy to send a pull req with a working version :)

Thank you

john@MBP:~/voter/battlecat-poll-master$ sh build.sh
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

> fsevents@1.0.15 install /Users/john/voter/battlecat-poll-master/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/john/voter/battlecat-poll-master/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
parallel-piper@1.0.0 /Users/john/voter/battlecat-poll-master
├─┬ autoprefixer@6.5.3
│ ├── browserslist@1.4.0
│ ├── caniuse-db@1.0.30000590
│ ├── normalize-range@0.1.2
│ ├── num2fraction@1.2.2
│ ├─┬ postcss@5.2.6
│ │ ├── js-base64@2.1.9
│ │ └── supports-color@3.1.2
│ └── postcss-value-parser@3.3.0
├─┬ babel-core@5.8.38
│ ├── babel-plugin-constant-folding@1.0.1
│ ├── babel-plugin-dead-code-elimination@1.0.2
│ ├── babel-plugin-eval@1.0.1
│ ├── babel-plugin-inline-environment-variables@1.0.1
│ ├── babel-plugin-jscript@1.0.4
│ ├── babel-plugin-member-expression-literals@1.0.1
│ ├── babel-plugin-property-literals@1.0.1
│ ├── babel-plugin-proto-to-assign@1.0.4
│ ├── babel-plugin-react-constant-elements@1.0.3
│ ├── babel-plugin-react-display-name@1.0.3
│ ├── babel-plugin-remove-console@1.0.1
│ ├── babel-plugin-remove-debugger@1.0.1
│ ├── babel-plugin-runtime@1.0.7
│ ├─┬ babel-plugin-undeclared-variables-check@1.0.2
│ │ └── leven@1.0.2
│ ├── babel-plugin-undefined-to-void@1.1.6
│ ├── babylon@5.8.38
│ ├── bluebird@2.11.0
│ ├─┬ chalk@1.1.3
│ │ ├── ansi-styles@2.2.1
│ │ ├── escape-string-regexp@1.0.5
│ │ ├─┬ has-ansi@2.0.0
│ │ │ └── ansi-regex@2.0.0
│ │ ├── strip-ansi@3.0.1
│ │ └── supports-color@2.0.0
│ ├── convert-source-map@1.3.0
│ ├── core-js@1.2.7
│ ├─┬ debug@2.3.3
│ │ └── ms@0.7.2
│ ├─┬ detect-indent@3.0.1
│ │ ├── get-stdin@4.0.1
│ │ └── minimist@1.2.0
│ ├── esutils@2.0.2
│ ├── fs-readdir-recursive@0.1.2
│ ├── globals@6.4.1
│ ├─┬ home-or-tmp@1.0.0
│ │ ├── os-tmpdir@1.0.2
│ │ └── user-home@1.1.1
│ ├─┬ is-integer@1.0.6
│ │ └─┬ is-finite@1.0.2
│ │   └── number-is-nan@1.0.1
│ ├── js-tokens@1.0.1
│ ├── json5@0.4.0
│ ├── lodash@3.10.1
│ ├─┬ minimatch@2.0.10
│ │ └─┬ brace-expansion@1.1.6
│ │   └── concat-map@0.0.1
│ ├── output-file-sync@1.1.2
│ ├── path-exists@1.0.0
│ ├── path-is-absolute@1.0.1
│ ├── private@0.1.6
│ ├─┬ regenerator@0.8.40
│ │ ├─┬ commoner@0.10.8
│ │ │ ├── detective@4.3.2
│ │ │ ├── glob@5.0.15
│ │ │ ├── iconv-lite@0.4.15
│ │ │ ├── q@1.4.1
│ │ │ └─┬ recast@0.11.18
│ │ │   ├── ast-types@0.9.2
│ │ │   └── esprima@3.1.2
│ │ ├─┬ defs@1.1.1
│ │ │ ├─┬ alter@0.2.0
│ │ │ │ └── stable@0.1.5
│ │ │ ├── ast-traverse@0.1.1
│ │ │ ├── breakable@1.0.0
│ │ │ ├── simple-fmt@0.1.0
│ │ │ ├── simple-is@0.2.0
│ │ │ ├── stringmap@0.2.2
│ │ │ ├── stringset@0.2.1
│ │ │ ├── tryor@0.1.2
│ │ │ └─┬ yargs@3.27.0
│ │ │   ├─┬ os-locale@1.4.0
│ │ │   │ └─┬ lcid@1.0.0
│ │ │   │   └── invert-kv@1.0.0
│ │ │   ├── window-size@0.1.4
│ │ │   └── y18n@3.2.1
│ │ ├── esprima-fb@15001.1001.0-dev-harmony-fb
│ │ ├─┬ recast@0.10.33
│ │ │ └── ast-types@0.8.12
│ │ └── through@2.3.8
│ ├─┬ regexpu@1.3.0
│ │ ├── esprima@2.7.3
│ │ ├── regenerate@1.3.2
│ │ ├── regjsgen@0.2.0
│ │ └─┬ regjsparser@0.1.5
│ │   └── jsesc@0.5.0
│ ├── repeating@1.1.3
│ ├── resolve@1.1.7
│ ├── shebang-regex@1.0.0
│ ├── slash@1.0.0
│ ├── source-map@0.5.6
│ ├─┬ source-map-support@0.2.10
│ │ └── source-map@0.1.32
│ ├── to-fast-properties@1.0.2
│ ├── trim-right@1.0.1
│ └── try-resolve@1.0.1
├─┬ babel-loader@5.4.2
│ ├─┬ loader-utils@0.2.16
│ │ ├── big.js@3.1.3
│ │ ├── emojis-list@2.1.0
│ │ └── json5@0.5.1
│ └── object-assign@3.0.0
├── babel-runtime@5.8.38
├─┬ belle@2.0.9
│ └── exenv@1.2.1
├─┬ chai@3.5.0
│ ├── assertion-error@1.0.2
│ ├─┬ deep-eql@0.1.3
│ │ └── type-detect@0.1.1
│ └── type-detect@1.0.0
├─┬ css-loader@0.23.1
│ ├─┬ css-selector-tokenizer@0.5.4
│ │ ├── cssesc@0.1.0
│ │ └── fastparse@1.1.1
│ ├─┬ cssnano@3.8.1
│ │ ├── decamelize@1.2.0
│ │ ├── defined@1.0.0
│ │ ├─┬ has@1.0.1
│ │ │ └── function-bind@1.1.0
│ │ ├─┬ postcss-calc@5.3.1
│ │ │ └─┬ reduce-css-calc@1.3.0
│ │ │   ├─┬ math-expression-evaluator@1.2.14
│ │ │   │ └── lodash.indexof@4.0.5
│ │ │   └── reduce-function-call@1.0.2
│ │ ├─┬ postcss-colormin@2.2.1
│ │ │ └─┬ colormin@1.1.2
│ │ │   └── css-color-names@0.0.4
│ │ ├── postcss-convert-values@2.5.0
│ │ ├── postcss-discard-comments@2.0.4
│ │ ├── postcss-discard-duplicates@2.0.2
│ │ ├── postcss-discard-empty@2.1.0
│ │ ├── postcss-discard-overridden@0.1.1
│ │ ├─┬ postcss-discard-unused@2.2.3
│ │ │ └── uniqs@2.0.0
│ │ ├─┬ postcss-filter-plugins@2.0.2
│ │ │ └─┬ uniqid@4.1.0
│ │ │   └── macaddress@0.2.8
│ │ ├── postcss-merge-idents@2.1.7
│ │ ├── postcss-merge-longhand@2.0.1
│ │ ├─┬ postcss-merge-rules@2.0.10
│ │ │ └── vendors@1.0.1
│ │ ├── postcss-minify-font-values@1.0.5
│ │ ├── postcss-minify-gradients@1.0.5
│ │ ├─┬ postcss-minify-params@1.0.5
│ │ │ └── alphanum-sort@1.0.2
│ │ ├─┬ postcss-minify-selectors@2.0.7
│ │ │ └─┬ postcss-selector-parser@2.2.2
│ │ │   ├── flatten@1.0.2
│ │ │   ├── indexes-of@1.0.1
│ │ │   └── uniq@1.0.1
│ │ ├── postcss-normalize-charset@1.1.1
│ │ ├─┬ postcss-normalize-url@3.0.7
│ │ │ ├── is-absolute-url@2.0.0
│ │ │ └─┬ normalize-url@1.8.0
│ │ │   ├── prepend-http@1.0.4
│ │ │   ├─┬ query-string@4.2.3
│ │ │   │ └── strict-uri-encode@1.1.0
│ │ │   └─┬ sort-keys@1.1.2
│ │ │     └── is-plain-obj@1.1.0
│ │ ├── postcss-ordered-values@2.2.2
│ │ ├── postcss-reduce-idents@2.3.1
│ │ ├── postcss-reduce-initial@1.0.0
│ │ ├── postcss-reduce-transforms@1.0.4
│ │ ├─┬ postcss-svgo@2.1.5
│ │ │ ├─┬ is-svg@2.1.0
│ │ │ │ └── html-comment-regex@1.1.1
│ │ │ └─┬ svgo@0.7.1
│ │ │   ├── coa@1.0.1
│ │ │   ├─┬ csso@2.2.1
│ │ │   │ └── clap@1.1.1
│ │ │   ├─┬ js-yaml@3.6.1
│ │ │   │ ├─┬ argparse@1.0.9
│ │ │   │ │ └── sprintf-js@1.0.3
│ │ │   │ └── esprima@2.7.3
│ │ │   ├── sax@1.2.1
│ │ │   └── whet.extend@0.9.9
│ │ ├── postcss-unique-selectors@2.0.2
│ │ └── postcss-zindex@2.2.0
│ ├─┬ lodash.camelcase@3.0.1
│ │ └─┬ lodash._createcompounder@3.0.0
│ │   ├─┬ lodash.deburr@3.2.0
│ │   │ └── lodash._root@3.0.1
│ │   └── lodash.words@3.2.0
│ ├── object-assign@4.1.0
│ ├── postcss-modules-extract-imports@1.0.1
│ ├─┬ postcss-modules-local-by-default@1.1.1
│ │ └─┬ css-selector-tokenizer@0.6.0
│ │   └── regexpu-core@1.0.0
│ ├─┬ postcss-modules-scope@1.0.2
│ │ └── css-selector-tokenizer@0.6.0
│ ├─┬ postcss-modules-values@1.2.2
│ │ └── icss-replace-symbols@1.0.2
│ └── source-list-map@0.1.7
├─┬ extract-text-webpack-plugin@0.8.2
│ └── async@1.5.2
├── fastclick@1.0.6
├── file-loader@0.8.5
├─┬ html-webpack-plugin@1.7.0
│ ├── bluebird@3.4.6
│ ├── blueimp-tmpl@2.5.7
│ └─┬ html-minifier@1.5.0
│   ├─┬ change-case@2.3.1
│   │ ├── camel-case@1.2.2
│   │ ├── constant-case@1.1.2
│   │ ├── dot-case@1.1.2
│   │ ├── is-lower-case@1.1.3
│   │ ├── is-upper-case@1.1.2
│   │ ├── lower-case@1.1.3
│   │ ├── lower-case-first@1.0.2
│   │ ├── param-case@1.1.2
│   │ ├── pascal-case@1.1.2
│   │ ├── path-case@1.1.2
│   │ ├── sentence-case@1.1.3
│   │ ├── snake-case@1.1.2
│   │ ├── swap-case@1.1.2
│   │ ├── title-case@1.1.2
│   │ ├── upper-case@1.1.3
│   │ └── upper-case-first@1.1.2
│   ├─┬ clean-css@3.4.21
│   │ ├── commander@2.8.1
│   │ └── source-map@0.4.4
│   ├─┬ commander@2.9.0
│   │ └── graceful-readlink@1.0.1
│   ├─┬ concat-stream@1.5.2
│   │ └── typedarray@0.0.6
│   ├── he@1.0.0
│   ├─┬ ncname@1.0.0
│   │ └── xml-char-classes@1.0.0
│   ├── relateurl@0.2.7
│   └─┬ uglify-js@2.6.4
│     ├── async@0.2.10
│     └─┬ yargs@3.10.0
│       └── window-size@0.1.0
├─┬ isomorphic-fetch@2.2.1
│ ├─┬ node-fetch@1.6.3
│ │ ├── encoding@0.1.12
│ │ └── is-stream@1.1.0
│ └── whatwg-fetch@2.0.1
├── jquery@2.2.4
├─┬ karma@0.13.22
│ ├── batch@0.5.3
│ ├─┬ body-parser@1.15.2
│ │ ├── bytes@2.4.0
│ │ ├── content-type@1.0.2
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├── depd@1.1.0
│ │ ├─┬ http-errors@1.5.1
│ │ │ ├── setprototypeof@1.0.2
│ │ │ └── statuses@1.3.1
│ │ ├── iconv-lite@0.4.13
│ │ ├─┬ on-finished@2.3.0
│ │ │ └── ee-first@1.1.1
│ │ ├── qs@6.2.0
│ │ ├─┬ raw-body@2.1.7
│ │ │ ├── iconv-lite@0.4.13
│ │ │ └── unpipe@1.0.0
│ │ └─┬ type-is@1.6.14
│ │   ├── media-typer@0.3.0
│ │   └─┬ mime-types@2.1.13
│ │     └── mime-db@1.25.0
│ ├─┬ chokidar@1.6.1
│ │ ├─┬ anymatch@1.3.0
│ │ │ ├── arrify@1.0.1
│ │ │ └─┬ micromatch@2.3.11
│ │ │   ├─┬ arr-diff@2.0.0
│ │ │   │ └── arr-flatten@1.0.1
│ │ │   ├─┬ braces@1.8.5
│ │ │   │ ├─┬ expand-range@1.8.2
│ │ │   │ │ └─┬ fill-range@2.2.3
│ │ │   │ │   ├── is-number@2.1.0
│ │ │   │ │   ├── isobject@2.1.0
│ │ │   │ │   └── randomatic@1.1.6
│ │ │   │ ├── preserve@0.2.0
│ │ │   │ └── repeat-element@1.1.2
│ │ │   ├─┬ expand-brackets@0.1.5
│ │ │   │ └── is-posix-bracket@0.1.1
│ │ │   ├── extglob@0.3.2
│ │ │   ├── filename-regex@2.0.0
│ │ │   ├─┬ kind-of@3.0.4
│ │ │   │ └── is-buffer@1.1.4
│ │ │   ├── normalize-path@2.0.1
│ │ │   ├─┬ object.omit@2.0.1
│ │ │   │ ├─┬ for-own@0.1.4
│ │ │   │ │ └── for-in@0.1.6
│ │ │   │ └── is-extendable@0.1.1
│ │ │   ├─┬ parse-glob@3.0.4
│ │ │   │ ├── glob-base@0.3.0
│ │ │   │ └── is-dotfile@1.0.2
│ │ │   └─┬ regex-cache@0.4.3
│ │ │     ├── is-equal-shallow@0.1.3
│ │ │     └── is-primitive@2.0.0
│ │ ├── async-each@1.0.1
│ │ ├─┬ fsevents@1.0.15
│ │ │ ├── nan@2.4.0
│ │ │ └─┬ node-pre-gyp@0.6.29
│ │ │   ├─┬ mkdirp@0.5.1
│ │ │   │ └── minimist@0.0.8
│ │ │   ├─┬ nopt@3.0.6
│ │ │   │ └── abbrev@1.0.9
│ │ │   ├─┬ npmlog@3.1.2
│ │ │   │ ├─┬ are-we-there-yet@1.1.2
│ │ │   │ │ └── delegates@1.0.0
│ │ │   │ ├── console-control-strings@1.1.0
│ │ │   │ ├─┬ gauge@2.6.0
│ │ │   │ │ ├── aproba@1.0.4
│ │ │   │ │ ├── has-color@0.1.7
│ │ │   │ │ ├── has-unicode@2.0.1
│ │ │   │ │ ├── object-assign@4.1.0
│ │ │   │ │ ├── signal-exit@3.0.0
│ │ │   │ │ ├─┬ string-width@1.0.1
│ │ │   │ │ │ ├─┬ code-point-at@1.0.0
│ │ │   │ │ │ │ └── number-is-nan@1.0.0
│ │ │   │ │ │ └── is-fullwidth-code-point@1.0.0
│ │ │   │ │ ├─┬ strip-ansi@3.0.1
│ │ │   │ │ │ └── ansi-regex@2.0.0
│ │ │   │ │ └── wide-align@1.1.0
│ │ │   │ └── set-blocking@2.0.0
│ │ │   ├─┬ rc@1.1.6
│ │ │   │ ├── deep-extend@0.4.1
│ │ │   │ ├── ini@1.3.4
│ │ │   │ ├── minimist@1.2.0
│ │ │   │ └── strip-json-comments@1.0.4
│ │ │   ├─┬ request@2.73.0
│ │ │   │ ├── aws-sign2@0.6.0
│ │ │   │ ├── aws4@1.4.1
│ │ │   │ ├─┬ bl@1.1.2
│ │ │   │ │ └── readable-stream@2.0.6
│ │ │   │ ├── caseless@0.11.0
│ │ │   │ ├─┬ combined-stream@1.0.5
│ │ │   │ │ └── delayed-stream@1.0.0
│ │ │   │ ├── extend@3.0.0
│ │ │   │ ├── forever-agent@0.6.1
│ │ │   │ ├─┬ form-data@1.0.0-rc4
│ │ │   │ │ └── async@1.5.2
│ │ │   │ ├─┬ har-validator@2.0.6
│ │ │   │ │ ├─┬ chalk@1.1.3
│ │ │   │ │ │ ├── ansi-styles@2.2.1
│ │ │   │ │ │ ├── escape-string-regexp@1.0.5
│ │ │   │ │ │ ├── has-ansi@2.0.0
│ │ │   │ │ │ └── supports-color@2.0.0
│ │ │   │ │ ├─┬ commander@2.9.0
│ │ │   │ │ │ └── graceful-readlink@1.0.1
│ │ │   │ │ ├─┬ is-my-json-valid@2.13.1
│ │ │   │ │ │ ├── generate-function@2.0.0
│ │ │   │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │   │ │ │ │ └── is-property@1.0.2
│ │ │   │ │ │ ├── jsonpointer@2.0.0
│ │ │   │ │ │ └── xtend@4.0.1
│ │ │   │ │ └─┬ pinkie-promise@2.0.1
│ │ │   │ │   └── pinkie@2.0.4
│ │ │   │ ├─┬ hawk@3.1.3
│ │ │   │ │ ├── boom@2.10.1
│ │ │   │ │ ├── cryptiles@2.0.5
│ │ │   │ │ ├── hoek@2.16.3
│ │ │   │ │ └── sntp@1.0.9
│ │ │   │ ├─┬ http-signature@1.1.1
│ │ │   │ │ ├── assert-plus@0.2.0
│ │ │   │ │ ├─┬ jsprim@1.3.0
│ │ │   │ │ │ ├── extsprintf@1.0.2
│ │ │   │ │ │ ├── json-schema@0.2.2
│ │ │   │ │ │ └── verror@1.3.6
│ │ │   │ │ └─┬ sshpk@1.8.3
│ │ │   │ │   ├── asn1@0.2.3
│ │ │   │ │   ├── assert-plus@1.0.0
│ │ │   │ │   ├─┬ dashdash@1.14.0
│ │ │   │ │   │ └── assert-plus@1.0.0
│ │ │   │ │   ├── ecc-jsbn@0.1.1
│ │ │   │ │   ├─┬ getpass@0.1.6
│ │ │   │ │   │ └── assert-plus@1.0.0
│ │ │   │ │   ├── jodid25519@1.0.2
│ │ │   │ │   ├── jsbn@0.1.0
│ │ │   │ │   └── tweetnacl@0.13.3
│ │ │   │ ├── is-typedarray@1.0.0
│ │ │   │ ├── isstream@0.1.2
│ │ │   │ ├── json-stringify-safe@5.0.1
│ │ │   │ ├─┬ mime-types@2.1.11
│ │ │   │ │ └── mime-db@1.23.0
│ │ │   │ ├── node-uuid@1.4.7
│ │ │   │ ├── oauth-sign@0.8.2
│ │ │   │ ├── qs@6.2.0
│ │ │   │ ├── stringstream@0.0.5
│ │ │   │ ├── tough-cookie@2.2.2
│ │ │   │ └── tunnel-agent@0.4.3
│ │ │   ├─┬ rimraf@2.5.3
│ │ │   │ └─┬ glob@7.0.5
│ │ │   │   ├── fs.realpath@1.0.0
│ │ │   │   ├── inflight@1.0.5
│ │ │   │   ├─┬ minimatch@3.0.2
│ │ │   │   │ └─┬ brace-expansion@1.1.5
│ │ │   │   │   ├── balanced-match@0.4.2
│ │ │   │   │   └── concat-map@0.0.1
│ │ │   │   └── path-is-absolute@1.0.0
│ │ │   ├── semver@5.2.0
│ │ │   ├─┬ tar@2.2.1
│ │ │   │ ├── block-stream@0.0.9
│ │ │   │ ├─┬ fstream@1.0.10
│ │ │   │ │ └── graceful-fs@4.1.4
│ │ │   │ └── inherits@2.0.1
│ │ │   └─┬ tar-pack@3.1.4
│ │ │     ├─┬ debug@2.2.0
│ │ │     │ └── ms@0.7.1
│ │ │     ├── fstream-ignore@1.0.5
│ │ │     ├─┬ once@1.3.3
│ │ │     │ └── wrappy@1.0.2
│ │ │     ├─┬ readable-stream@2.1.4
│ │ │     │ ├── buffer-shims@1.0.0
│ │ │     │ ├── core-util-is@1.0.2
│ │ │     │ ├── isarray@1.0.0
│ │ │     │ ├── process-nextick-args@1.0.7
│ │ │     │ ├── string_decoder@0.10.31
│ │ │     │ └── util-deprecate@1.0.2
│ │ │     └── uid-number@0.0.6
│ │ ├── glob-parent@2.0.0
│ │ ├── inherits@2.0.3
│ │ ├─┬ is-binary-path@1.0.1
│ │ │ └── binary-extensions@1.7.0
│ │ ├─┬ is-glob@2.0.1
│ │ │ └── is-extglob@1.0.0
│ │ └─┬ readdirp@2.1.0
│ │   ├── minimatch@3.0.3
│ │   └── set-immediate-shim@1.0.1
│ ├── colors@1.1.2
│ ├─┬ connect@3.5.0
│ │ ├─┬ debug@2.2.0
│ │ │ └── ms@0.7.1
│ │ ├─┬ finalhandler@0.5.0
│ │ │ ├─┬ debug@2.2.0
│ │ │ │ └── ms@0.7.1
│ │ │ └── escape-html@1.0.3
│ │ ├── parseurl@1.3.1
│ │ └── utils-merge@1.0.0
│ ├── core-js@2.4.1
│ ├── di@0.0.1
│ ├─┬ dom-serialize@2.2.1
│ │ ├── custom-event@1.0.1
│ │ ├── ent@2.2.0
│ │ ├── extend@3.0.0
│ │ └── void-elements@2.0.1
│ ├─┬ expand-braces@0.1.2
│ │ ├── array-slice@0.2.3
│ │ ├── array-unique@0.2.1
│ │ └─┬ braces@0.1.5
│ │   └─┬ expand-range@0.1.1
│ │     ├── is-number@0.1.1
│ │     └── repeat-string@0.2.2
│ ├─┬ glob@7.1.1
│ │ ├── fs.realpath@1.0.0
│ │ ├─┬ inflight@1.0.6
│ │ │ └── wrappy@1.0.2
│ │ └── once@1.4.0
│ ├── graceful-fs@4.1.11
│ ├─┬ http-proxy@1.16.0
│ │ ├── eventemitter3@1.2.0
│ │ └── requires-port@1.0.0
│ ├── isbinaryfile@3.0.1
│ ├─┬ log4js@0.6.38
│ │ ├─┬ readable-stream@1.0.34
│ │ │ └── isarray@0.0.1
│ │ └── semver@4.3.6
│ ├── mime@1.3.4
│ ├── minimatch@3.0.3
│ ├─┬ optimist@0.6.1
│ │ ├── minimist@0.0.10
│ │ └── wordwrap@0.0.2
│ ├─┬ rimraf@2.5.4
│ │ └─┬ glob@7.1.1
│ │   └── minimatch@3.0.3
│ ├─┬ socket.io@1.7.1
│ │ ├─┬ engine.io@1.8.1
│ │ │ ├─┬ accepts@1.3.3
│ │ │ │ └── negotiator@0.6.1
│ │ │ ├── base64id@0.1.0
│ │ │ ├── cookie@0.3.1
│ │ │ ├─┬ engine.io-parser@1.3.1
│ │ │ │ ├── after@0.8.1
│ │ │ │ ├── arraybuffer.slice@0.0.6
│ │ │ │ ├── base64-arraybuffer@0.1.5
│ │ │ │ ├── blob@0.0.4
│ │ │ │ ├─┬ has-binary@0.1.6
│ │ │ │ │ └── isarray@0.0.1
│ │ │ │ └── wtf-8@1.0.0
│ │ │ └─┬ ws@1.1.1
│ │ │   ├── options@0.0.6
│ │ │   └── ultron@1.0.2
│ │ ├─┬ has-binary@0.1.7
│ │ │ └── isarray@0.0.1
│ │ ├── socket.io-adapter@0.5.0
│ │ ├─┬ socket.io-client@1.7.1
│ │ │ ├── backo2@1.0.2
│ │ │ ├── component-bind@1.0.0
│ │ │ ├── component-emitter@1.2.1
│ │ │ ├─┬ engine.io-client@1.8.1
│ │ │ │ ├── component-emitter@1.2.1
│ │ │ │ ├── component-inherit@0.0.3
│ │ │ │ ├── has-cors@1.1.0
│ │ │ │ ├── parsejson@0.0.3
│ │ │ │ ├── parseqs@0.0.5
│ │ │ │ ├── xmlhttprequest-ssl@1.5.3
│ │ │ │ └── yeast@0.1.2
│ │ │ ├── object-component@0.0.3
│ │ │ ├─┬ parseuri@0.0.5
│ │ │ │ └─┬ better-assert@1.0.2
│ │ │ │   └── callsite@1.0.0
│ │ │ └── to-array@0.1.4
│ │ └─┬ socket.io-parser@2.3.1
│ │   ├── component-emitter@1.1.2
│ │   ├─┬ debug@2.2.0
│ │   │ └── ms@0.7.1
│ │   ├── isarray@0.0.1
│ │   └── json3@3.3.2
│ └─┬ useragent@2.1.9
│   └── lru-cache@2.2.4
├─┬ karma-chrome-launcher@0.2.3
│ ├─┬ fs-access@1.0.1
│ │ └── null-check@1.0.0
│ └─┬ which@1.2.12
│   └── isexe@1.1.2
├── karma-mocha@0.2.2
├── karma-sinon@1.0.5
├─┬ karma-sinon-chai@1.2.4
│ └── lolex@1.5.2
├─┬ karma-spec-reporter@0.0.24
│ └── colors@0.6.2
├─┬ karma-webpack@1.8.0
│ ├── async@0.9.2
│ ├─┬ source-map@0.1.43
│ │ └── amdefine@1.0.1
│ └─┬ webpack-dev-middleware@1.8.4
│   └── range-parser@1.2.0
├─┬ less@2.7.1
│ ├─┬ errno@0.1.4
│ │ └── prr@0.0.0
│ ├── image-size@0.5.0
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ └─┬ promise@7.1.1
│   └── asap@2.0.5
├── less-loader@2.2.3
├─┬ mocha@2.5.3
│ ├── commander@2.3.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├── diff@1.4.0
│ ├── escape-string-regexp@1.0.2
│ ├─┬ glob@3.2.11
│ │ └─┬ minimatch@0.3.0
│ │   └── sigmund@1.0.1
│ ├── growl@1.9.2
│ ├─┬ jade@0.26.3
│ │ ├── commander@0.6.1
│ │ └── mkdirp@0.3.0
│ ├── supports-color@1.2.0
│ └── to-iso-string@0.0.2
├─┬ node-libs-browser@0.5.3
│ ├── assert@1.4.1
│ ├─┬ browserify-zlib@0.1.4
│ │ └── pako@0.2.9
│ ├─┬ buffer@3.6.0
│ │ ├── base64-js@0.0.8
│ │ ├── ieee754@1.1.8
│ │ └── isarray@1.0.0
│ ├─┬ console-browserify@1.1.0
│ │ └── date-now@0.1.4
│ ├── constants-browserify@0.0.1
│ ├─┬ crypto-browserify@3.2.8
│ │ ├── pbkdf2-compat@2.0.1
│ │ ├── ripemd160@0.2.0
│ │ └── sha.js@2.2.6
│ ├── domain-browser@1.1.7
│ ├── events@1.1.1
│ ├─┬ http-browserify@1.7.0
│ │ └── Base64@0.2.1
│ ├── https-browserify@0.0.0
│ ├── os-browserify@0.1.2
│ ├── path-browserify@0.0.0
│ ├── process@0.11.9
│ ├── punycode@1.4.1
│ ├── querystring-es3@0.2.1
│ ├─┬ readable-stream@1.1.14
│ │ ├── core-util-is@1.0.2
│ │ └── isarray@0.0.1
│ ├─┬ stream-browserify@1.0.0
│ │ └─┬ readable-stream@1.1.14
│ │   └── isarray@0.0.1
│ ├── string_decoder@0.10.31
│ ├── timers-browserify@1.4.2
│ ├── tty-browserify@0.0.0
│ ├─┬ url@0.10.3
│ │ ├── punycode@1.3.2
│ │ └── querystring@0.2.0
│ ├─┬ util@0.10.3
│ │ └── inherits@2.0.1
│ └─┬ vm-browserify@0.0.4
│   └── indexof@0.0.1
├── normalize.css@3.0.3
├── postcss-loader@0.8.2
├─┬ postcss-modules@0.3.0
│ ├─┬ css-modules-loader-core@1.0.1
│ │ ├─┬ postcss@5.1.2
│ │ │ └── supports-color@3.1.2
│ │ └── postcss-modules-extract-imports@1.0.0
│ └── string-hash@1.1.1
├── postcss-simple-vars@1.2.0
├─┬ precss@1.4.0
│ ├── postcss-advanced-variables@1.2.2
│ ├── postcss-atroot@0.1.3
│ ├─┬ postcss-color-function@2.0.1
│ │ ├─┬ css-color-function@1.3.0
│ │ │ ├── balanced-match@0.1.0
│ │ │ ├─┬ color@0.11.4
│ │ │ │ ├─┬ color-convert@1.8.2
│ │ │ │ │ └── color-name@1.1.1
│ │ │ │ └── color-string@0.3.0
│ │ │ ├── debug@0.7.4
│ │ │ └── rgb@0.1.0
│ │ └── postcss-message-helpers@2.0.0
│ ├── postcss-custom-media@5.0.1
│ ├─┬ postcss-custom-properties@5.0.1
│ │ └── balanced-match@0.1.0
│ ├─┬ postcss-custom-selectors@3.0.0
│ │ └── balanced-match@0.2.1
│ ├── postcss-extend@1.0.5
│ ├── postcss-media-minmax@2.1.2
│ ├─┬ postcss-mixins@2.1.1
│ │ └─┬ globby@3.0.1
│ │   ├─┬ array-union@1.0.2
│ │   │ └── array-uniq@1.0.3
│ │   ├── pify@2.3.0
│ │   └─┬ pinkie-promise@1.0.0
│ │     └── pinkie@1.0.0
│ ├── postcss-nested@1.0.0
│ ├── postcss-nesting@2.3.1
│ ├─┬ postcss-partial-import@1.3.0
│ │ ├─┬ fs-extra@0.24.0
│ │ │ └── jsonfile@2.4.0
│ │ └─┬ fs-promise@0.3.1
│ │   └── any-promise@0.1.0
│ ├─┬ postcss-property-lookup@1.2.1
│ │ └── tcomb@2.7.0
│ ├─┬ postcss-selector-matches@2.0.5
│ │ └── balanced-match@0.4.2
│ └─┬ postcss-selector-not@2.0.0
│   └── balanced-match@0.2.1
├─┬ react@0.14.8
│ ├─┬ envify@3.4.1
│ │ └─┬ jstransform@11.0.3
│ │   ├── base62@1.1.2
│ │   ├── esprima-fb@15001.1.0-dev-harmony-fb
│ │   ├── object-assign@2.1.1
│ │   └── source-map@0.4.4
│ └─┬ fbjs@0.6.1
│   ├─┬ loose-envify@1.3.0
│   │ └── js-tokens@2.0.0
│   ├── ua-parser-js@0.7.12
│   └── whatwg-fetch@0.9.0
├── react-dom@0.14.8
├─┬ sinon@1.17.6
│ ├── formatio@1.1.1
│ ├── lolex@1.3.2
│ └── samsam@1.1.2
├── UNMET PEER DEPENDENCY sinon-chai@^2.8.0
├── style-loader@0.13.1
├─┬ stylus@0.54.5
│ ├── css-parse@1.7.0
│ ├─┬ glob@7.0.6
│ │ └── minimatch@3.0.3
│ ├── sax@0.5.8
│ └── source-map@0.1.43
├─┬ stylus-loader@2.4.0
│ └── when@3.6.4
├─┬ url-loader@0.5.7
│ └── mime@1.2.11
├─┬ virtual-dom@2.1.1
│ ├── browser-split@0.0.1
│ ├─┬ error@4.4.0
│ │ ├── camelize@1.0.0
│ │ ├── string-template@0.2.1
│ │ └── xtend@4.0.1
│ ├─┬ ev-store@7.0.0
│ │ └── individual@3.0.0
│ ├─┬ global@4.3.1
│ │ ├─┬ min-document@2.19.0
│ │ │ └── dom-walk@0.1.1
│ │ └── process@0.5.2
│ ├── is-object@1.0.1
│ ├── next-tick@0.2.2
│ ├── x-is-array@0.1.0
│ └── x-is-string@0.1.0
├─┬ webpack@1.13.3
│ ├── acorn@3.3.0
│ ├── clone@1.0.2
│ ├─┬ enhanced-resolve@0.9.1
│ │ └── memory-fs@0.2.0
│ ├── interpret@0.6.6
│ ├─┬ memory-fs@0.3.0
│ │ └─┬ readable-stream@2.0.6
│ │   ├── process-nextick-args@1.0.7
│ │   └── util-deprecate@1.0.2
│ ├─┬ node-libs-browser@0.6.0
│ │ ├─┬ buffer@4.9.1
│ │ │ └── base64-js@1.2.0
│ │ └─┬ readable-stream@1.1.14
│ │   └── isarray@0.0.1
│ ├─┬ supports-color@3.1.2
│ │ └── has-flag@1.0.0
│ ├── tapable@0.1.10
│ ├─┬ uglify-js@2.7.5
│ │ ├── async@0.2.10
│ │ ├── uglify-to-browserify@1.0.2
│ │ └─┬ yargs@3.10.0
│ │   ├── camelcase@1.2.1
│ │   ├─┬ cliui@2.1.0
│ │   │ ├─┬ center-align@0.1.3
│ │   │ │ ├─┬ align-text@0.1.4
│ │   │ │ │ ├── longest@1.0.1
│ │   │ │ │ └── repeat-string@1.6.1
│ │   │ │ └── lazy-cache@1.0.4
│ │   │ └── right-align@0.1.3
│ │   └── window-size@0.1.0
│ ├─┬ watchpack@0.2.9
│ │ └── async@0.9.2
│ └─┬ webpack-core@0.6.8
│   └── source-map@0.4.4
└─┬ webpack-livereload-plugin@0.5.3
  └─┬ tiny-lr@0.2.1
    ├─┬ body-parser@1.14.2
    │ ├── bytes@2.2.0
    │ ├── http-errors@1.3.1
    │ ├── iconv-lite@0.4.13
    │ └── qs@5.2.0
    ├─┬ debug@2.2.0
    │ └── ms@0.7.1
    ├─┬ faye-websocket@0.10.0
    │ └─┬ websocket-driver@0.6.5
    │   └── websocket-extensions@0.1.1
    ├── livereload-js@2.2.2
    └── qs@5.1.0

npm WARN karma-sinon-chai@1.2.4 requires a peer of sinon-chai@^2.8.0 but none was installed.
npm WARN parallel-piper@1.0.0 No license field.
Hash: 882937bfd01452f880b6
Version: webpack 1.13.3
Time: 9983ms
                                Asset      Size  Chunks             Chunk Names
 d39c7c45536d58b6d370d09b74b37bfa.eot   11.7 kB          [emitted]
 3b777c30a2fc8ad75220c4b86556c5eb.ttf   21.9 kB          [emitted]
23ed833c737fb20e3138ec99fd1db0df.woff   13.5 kB          [emitted]
                              poll.js    469 kB       0  [emitted]  main
                           index.html  52 bytes          [emitted]
    + 313 hidden modules

WARNING in poll.js from UglifyJs
Condition always true [./~/react/lib/ReactMount.js:764,0]
Condition always true [./~/exenv/index.js:30,0]
Dropping unreachable code [./~/exenv/index.js:34,2]
Condition always false [./~/style-loader/addStyles.js:24,0]
Dropping unreachable code [./~/style-loader/addStyles.js:25,0]
Condition always true [./~/react/lib/findDOMNode.js:46,0]
Condition always true [./~/react/lib/instantiateReactComponent.js:80,0]
Dropping unreachable code [./~/react/lib/shouldUpdateReactComponent.js:40,0]
Condition always true [./~/react/lib/traverseAllChildren.js:158,0]
Condition always false [./lib/splunkhttp.js:33,12]
Dropping unreachable code [./lib/splunkhttp.js:34,12]
Side effects in initialization of unused variable style [./~/belle/lib/components/Card.js:45,0]
Side effects in initialization of unused variable style [./~/belle/lib/components/Card.js:62,0]
Side effects in initialization of unused variable getWeekArrayForMonth [./~/belle/lib/utils/date-helpers.js:22,0]
Side effects in initialization of unused variable getLastDayForMonth [./~/belle/lib/utils/date-helpers.js:46,0]
Side effects in initialization of unused variable getLocaleData [./~/belle/lib/utils/date-helpers.js:55,0]
Side effects in initialization of unused variable getDateForDateKey [./~/belle/lib/utils/date-helpers.js:92,0]
Side effects in initialization of unused variable convertDateToDateKey [./~/belle/lib/utils/date-helpers.js:103,0]
Side effects in initialization of unused variable today [./~/belle/lib/utils/date-helpers.js:112,0]
Condition always true [./~/fastclick/lib/fastclick.js:829,0]
Dropping unreachable code [./~/fastclick/lib/fastclick.js:835,2]
Condition always true [./~/jquery/dist/jquery.js:9778,0]
Condition always true [./~/react/lib/ReactDOMComponent.js:907,0]
Dropping side-effect-free statement [./~/react/lib/ReactEventListener.js:72,0]
Dropping unused function handleTopLevelWithPath [./~/react/lib/ReactEventListener.js:98,0]
Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [./~/react/lib/ReactEventListener.js:26,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:7,0]

ERROR in Path must be a string. Received undefined
john@MBP:~/voter/battlecat-poll-master$ npm start
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/7.2.0/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9

npm ERR! missing script: start
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!     /Users/john/voter/battlecat-poll-master/npm-debug.log
john@MBP:~/voter/battlecat-poll-master$

Shows an unmet dependecy - so i added sinon-chai@^2.8.0 manually - see below

john@MBP:~/voter/battlecat-poll-master$ npm install sinon-chai@^2.8.0
parallel-piper@1.0.0 /Users/john/voter/battlecat-poll-master
└── sinon-chai@2.8.0

npm WARN parallel-piper@1.0.0 No license field.
john@MBP:~/voter/battlecat-poll-master$ sh build.sh
npm WARN parallel-piper@1.0.0 No license field.
Hash: 882937bfd01452f880b6
Version: webpack 1.13.3
Time: 9106ms
                                Asset      Size  Chunks             Chunk Names
 d39c7c45536d58b6d370d09b74b37bfa.eot   11.7 kB          [emitted]
 3b777c30a2fc8ad75220c4b86556c5eb.ttf   21.9 kB          [emitted]
23ed833c737fb20e3138ec99fd1db0df.woff   13.5 kB          [emitted]
                              poll.js    469 kB       0  [emitted]  main
                           index.html  52 bytes          [emitted]
    + 313 hidden modules

WARNING in poll.js from UglifyJs
Condition always true [./~/react/lib/ReactMount.js:764,0]
Condition always true [./~/exenv/index.js:30,0]
Dropping unreachable code [./~/exenv/index.js:34,2]
Condition always false [./~/style-loader/addStyles.js:24,0]
Dropping unreachable code [./~/style-loader/addStyles.js:25,0]
Condition always true [./~/react/lib/findDOMNode.js:46,0]
Condition always true [./~/react/lib/instantiateReactComponent.js:80,0]
Dropping unreachable code [./~/react/lib/shouldUpdateReactComponent.js:40,0]
Condition always true [./~/react/lib/traverseAllChildren.js:158,0]
Condition always false [./lib/splunkhttp.js:33,12]
Dropping unreachable code [./lib/splunkhttp.js:34,12]
Side effects in initialization of unused variable style [./~/belle/lib/components/Card.js:45,0]
Side effects in initialization of unused variable style [./~/belle/lib/components/Card.js:62,0]
Side effects in initialization of unused variable getWeekArrayForMonth [./~/belle/lib/utils/date-helpers.js:22,0]
Side effects in initialization of unused variable getLastDayForMonth [./~/belle/lib/utils/date-helpers.js:46,0]
Side effects in initialization of unused variable getLocaleData [./~/belle/lib/utils/date-helpers.js:55,0]
Side effects in initialization of unused variable getDateForDateKey [./~/belle/lib/utils/date-helpers.js:92,0]
Side effects in initialization of unused variable convertDateToDateKey [./~/belle/lib/utils/date-helpers.js:103,0]
Side effects in initialization of unused variable today [./~/belle/lib/utils/date-helpers.js:112,0]
Condition always true [./~/fastclick/lib/fastclick.js:829,0]
Dropping unreachable code [./~/fastclick/lib/fastclick.js:835,2]
Condition always true [./~/jquery/dist/jquery.js:9778,0]
Condition always true [./~/react/lib/ReactDOMComponent.js:907,0]
Dropping side-effect-free statement [./~/react/lib/ReactEventListener.js:72,0]
Dropping unused function handleTopLevelWithPath [./~/react/lib/ReactEventListener.js:98,0]
Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [./~/react/lib/ReactEventListener.js:26,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/app.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/logo.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/question.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./lib/views/setup.css:7,0]
Condition always false [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader?modules!./~/postcss-loader!./~/normalize.css/normalize.css:7,0]

ERROR in Path must be a string. Received undefined
john@MBP:~/voter/battlecat-poll-master$

Still same error

ljharb commented 6 years ago

Any chance you could provide the code that this errors on?