zrrrzzt / docker-unoconv-webservice

Dockerfile to run unoconv as a webservice
MIT License
96 stars 35 forks source link

Unexpected token "=" on container up. #20

Open GrayWolfy opened 5 years ago

GrayWolfy commented 5 years ago

When I up container, I catch this error. And I can't understand what is the problem? docker-compose -f docker-compose.yaml up unoconv Recreating gfk_unoconv_service ... done Attaching to gfk_unoconv_service

gfk_unoconv_service | /unoconvservice/node_modules/hapi/node_modules/somever/lib/index.js:51
gfk_unoconv_service |     constructor(version, options = {}) {
gfk_unoconv_service |                                  ^
gfk_unoconv_service | 
gfk_unoconv_service | SyntaxError: Unexpected token =
gfk_unoconv_service |     at exports.runInThisContext (vm.js:53:16)
gfk_unoconv_service |     at Module._compile (module.js:373:25)
gfk_unoconv_service |     at Object.Module._extensions..js (module.js:416:10)
gfk_unoconv_service |     at Module.load (module.js:343:32)
gfk_unoconv_service |     at Function.Module._load (module.js:300:12)
gfk_unoconv_service |     at Module.require (module.js:353:17)
gfk_unoconv_service |     at require (internal/module.js:12:17)
gfk_unoconv_service |     at Object.<anonymous> (/unoconvservice/node_modules/hapi/lib/server.js:12:17)
gfk_unoconv_service |     at Module._compile (module.js:409:26)
gfk_unoconv_service |     at Object.Module._extensions..js (module.js:416:10)

gfk_unoconv_service exited with code 1