Tuesday, 18 April 2017

failing to launch node app config file

I am totally new to nodeJs. I am using node 5.0.0 cloned a repo and launched the command :

node ./app.js -c config.yaml

but I get this error

node_modules/q/q.js:155 throw e; ^

SyntaxError: Unexpected token u at Object.parse (native) at yaml2json (/home/../mosaic-techonmap-server/source/config.access.js:13:21) at module.exports (/home/../mosaic-techonmap-server/source/config.access.js:152:23) at /home/../app.js:89:45 at _fulfilled (/home/../node_modules/q/q.js:854:54) at self.promiseDispatch.done (/home/../mosaic-techonmap-server/node_modules/q/q.js:883:30) at Promise.promise.promiseDispatch (/home/../mosaic-techonmap-server/node_modules/q/q.js:816:13) at /home/../mosaic-techonmap-server/node_modules/q/q.js:877:14 at runSingle (/home/../mosaic-techonmap-server/node_modules/q/q.js:137:13) at flush (/home/../mosaic-techonmap-server/node_modules/q/q.js:125:13)

Someone has an idea ?



via Newben

No comments:

Post a Comment