adrianco / spigo

Simulate Protocol Interactions in Go
Apache License 2.0
1.12k stars 111 forks source link

Local installation not working #58

Closed mmiglier closed 8 years ago

mmiglier commented 8 years ago

I ran:

$ cd ui
$ npm install
$ npm run dev

however the last command returns the following output:

$ npm run dev

> simianviz@0.1.0 dev /Users/mmiglier/spigo/ui
> gulp dev

[18:10:35] Using gulpfile ~/spigo/ui/gulpfile.js
[18:10:35] Starting 'dev'...
[18:10:35] Starting 'build-dev'...
[18:10:35] Starting 'clean-dist'...
[18:10:35] Finished 'clean-dist' after 20 ms
[18:10:35] Starting 'lint'...
[18:10:35] Starting 'styles'...
[18:10:35] Starting 'copy-font-awesome-fonts'...
[18:10:35] Starting 'copy-google-fonts'...
[18:10:35] Starting 'copy-html'...
[18:10:35] Starting 'copy-json'...
[18:10:35] Starting 'bundle-app'...
[18:10:35] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:35] 'lint' errored after 375 ms
[18:10:35] ESLintError in plugin 'gulp-eslint'
Message:
    true === false
Details:
    fileName: /Users/mmiglier/spigo/ui/js/actions.js
    lineNumber: 0
[18:10:36] 'dev' errored after 457 ms
[18:10:36] Error in plugin 'run-sequence'
Message:
    An error occured in task 'lint'.
[18:10:36] 'build-dev' errored after 404 ms
[18:10:36] Error in plugin 'run-sequence'
Message:
    An error occured in task 'dev'.
[18:10:36] 'build-dev' errored after 406 ms
[18:10:36] Error in plugin 'run-sequence'
Message:
    An error occured in task 'lint'.
[18:10:36] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:36] Finished 'copy-html' after 576 ms
[18:10:36] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Gulp notification] Styles created...
[18:10:37] Finished 'styles' after 1.89 s
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:37] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] Finished 'copy-font-awesome-fonts' after 2.71 s
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:38] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:39] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:40] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:41] Finished 'copy-google-fonts' after 6.13 s
[18:10:41] gulp-notify: [Error running Gulp] Build Error: true === false
[18:10:42]
/Users/mmiglier/spigo/ui/js/actions.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/api-client.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/app.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/dispatcher.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/four-oh-four.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/layout.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/router.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/simianviz.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/chart/index.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/header/index.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-collision-detection.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-connected-nodes.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-fisheye.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-link-expander.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-pin-nodes.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-removable-links.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/d3-removable-nodes.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/lib/store-event-mixin.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/stores/chart.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/js/toolbar/index.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/gulpfile.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/build-dev.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/build-prod.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/bundle-app.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/clean-dist.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/copy-font-awesome-fonts.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/copy-google-fonts.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/copy-html.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/copy-json.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/dev.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/lint.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/minify-app.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/minify-styles.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/serve.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/styles.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/tdd.js
  0:0  error  true === false

/Users/mmiglier/spigo/ui/.gulp-tasks/test.js
  0:0  error  true === false

✖ 37 problems (37 errors, 0 warnings)

[18:10:49] Finished 'copy-json' after 14 s
[18:10:51] gulp-notify: [Gulp notification] Client app bundled...
[18:10:51] Finished 'bundle-app' after 16 s

and finally no service is listening to port 8000 on localhost.

Any idea on what could be wrong? thanks

adrianco commented 8 years ago

Sorry I don't know, it works for me:

acockcroftmac:spigo acockcroft$ cd ui acockcroftmac:ui acockcroft$ npm install npm WARN package.json babel@4.7.16 No README data npm WARN package.json karma-phantomjs-launcher@0.1.4 No README data acockcroftmac:ui acockcroft$ npm run dev

simianviz@0.1.0 dev /Users/acockcroft/go/src/github.com/adrianco/spigo/ui gulp dev

[21:46:14] Using gulpfile ~/go/src/github.com/adrianco/spigo/ui/gulpfile.js [21:46:14] Starting 'dev'... [21:46:14] Starting 'build-dev'... [21:46:14] Starting 'clean-dist'... [21:46:14] gulp-notify: [Gulp notification] Client dist folder cleaned... [21:46:14] Finished 'clean-dist' after 68 ms [21:46:14] Starting 'lint'... [21:46:14] Starting 'styles'... [21:46:14] Starting 'copy-font-awesome-fonts'... [21:46:14] Starting 'copy-google-fonts'... [21:46:14] Starting 'copy-html'... [21:46:14] Starting 'copy-json'... [21:46:14] Starting 'bundle-app'... [21:46:15] Finished 'copy-html' after 903 ms [21:46:15] gulp-notify: [Gulp notification] Styles created... [21:46:15] Finished 'styles' after 1.1 s [21:46:15] Finished 'copy-font-awesome-fonts' after 1.27 s [21:46:16] Finished 'copy-google-fonts' after 1.87 s [21:46:16] Finished 'lint' after 1.92 s [21:46:19] Finished 'copy-json' after 4.79 s [21:46:21] gulp-notify: [Gulp notification] Client app bundled... [21:46:21] Finished 'bundle-app' after 6.45 s [21:46:21] Finished 'build-dev' after 6.55 s [21:46:21] Starting 'serve'... [21:46:21] Finished 'serve' after 34 μs [21:46:21] Finished 'dev' after 6.57 s [21:46:21] Starting 'serve'... [21:46:21] Finished 'serve' after 16 ms [21:46:21] Server started http://localhost:8000 [21:46:21] LiveReload started on port 35729

Kurtis built the gulp stuff.

kkemple commented 8 years ago

this issue is resolved, please update spigo

mmiglier commented 8 years ago

Yes thanks, it's working now.