acdlite / acdlite/flummox-isomorphic-demo

getting error running 'make watch'

Ouverte
#12 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
89
Forks
17
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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...

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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 *`.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, node.js
Domaine
tooling
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.