acdlite / acdlite/flummox-isomorphic-demo
make watch error
- Langage dominant
- JavaScript
- Étoiles
- 89
- Forks
- 17
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I cloned this repo and run `make watch`. Got the error below:
/test-project/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)
5 Apr 15:38:07 - [nodemon] app crashed - waiting for file changes before starting...
My node version is v0.12.2
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The error occurs in koa's application.js due to a generator function syntax not supported in Node.js v0.12.2. Check the project's package.json for required Node version and the makefile for the watch script. Update Node.js to a version that supports ES6 generators (likely v4+), or investigate if the project dependencies need downgrading. Running `make watch` after the fix should start the server without the syntax error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, node.js
- Domaine
- build-system, cli
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 40/100