acdlite / acdlite/flummox-isomorphic-demo

getting error running 'make watch'

Aperta
#12 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
89
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I get the following running 'make watch' on a Ubuntu VirtualBox VM with io.js v1.6.1

...
webpack: bundle is now VALID.
Hash: 7a439141e7093b062723
Version: webpack 1.5.3
Time: 7111ms
Asset Size Chunks Chunk Names
app.min.js 316521 0 [emitted] main
+ 224 hidden modules
nodemon lib/server/app.js
26 Mar 15:28:22 - [nodemon] v1.3.7
26 Mar 15:28:22 - [nodemon] to restart at any time, enter `rs`
26 Mar 15:28:22 - [nodemon] watching: _._
26 Mar 15:28:22 - [nodemon] starting `node --harmony lib/server/app.js`

/home/johnsz/shared/code/react/flummox-isomorphic-demo/node_modules/koa/lib/application.js:174
function *respond(next) {
^
SyntaxError: Unexpected token *
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (../../src/server/app.js:7:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
26 Mar 15:28:22 - [nodemon] app crashed - waiting for file changes before starting...

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by running `make watch` to reproduce the crash, then follow the stack trace into `src/server/app.js`, `lib/server/app.js`, and `node_modules/koa/lib/application.js`. Next inspect the `make watch` command path (Makefile/NPM scripts invoked by it) to verify the Node/io.js binary and flags used at startup. Verify whether the reported io.js v1.6.1 environment is compatible with the Koa/generator syntax in use. This is done when `make watch` starts successfully and nodemon does not immediately crash with `Unexpected token *`.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.