gothinkster / hapijs-realworld-example-app

Real World Hapi.JS + Mongoose backend implementations
https://realworld.io
78 stars 26 forks source link

app crash: glue node module #4

Open glennantoine opened 6 years ago

glennantoine commented 6 years ago

After cloning the repo, I started the app using the 'docker-compose up' command. Immediately after the api starts the following error is displayed:

conduit_api_1 | [nodemon] starting node index.js conduit_api_1 | /usr/src/app/node_modules/glue/lib/index.js:31 conduit_api_1 | exports.compose = async function (manifest, options = {}) { conduit_api_1 | ^^^^^^^^ conduit_api_1 | conduit_api_1 | SyntaxError: Unexpected token function conduit_api_1 | at createScript (vm.js:56:10) conduit_api_1 | at Object.runInThisContext (vm.js:97:10) conduit_api_1 | at Module._compile (module.js:549:28) conduit_api_1 | at Object.Module._extensions..js (module.js:586:10) conduit_api_1 | at Module.load (module.js:494:32) conduit_api_1 | at tryModuleLoad (module.js:453:12) conduit_api_1 | at Function.Module._load (module.js:445:3) conduit_api_1 | at Module.require (module.js:504:17) conduit_api_1 | at require (internal/module.js:20:19) conduit_api_1 | at Object. (/usr/src/app/lib/index.js:5:14) conduit_api_1 | [nodemon] app crashed - waiting for file changes before starting...