linagora/hublin

Error: Cannot find module \'pug\''

buzanits opened this issue · 9 comments

I tried to start the docker-compose installation. After a git checkout I started
DOCKER_IP=10.0.0.171 docker-compose up
and ended up with:

hublin    |   stack: 
hublin    |    [ 'Error: Cannot find module \'pug\'',
hublin    |      '    at Function.Module._resolveFilename (module.js:547:15)',
hublin    |      '    at Function.Module._load (module.js:474:25)',
hublin    |      '    at Module.require (module.js:596:17)',
hublin    |      '    at require (internal/module.js:11:18)',
hublin    |      '    at Object.<anonymous> (/src/backend/i18n/index.js:4:13)',
hublin    |      '    at Module._compile (module.js:652:30)',
hublin    |      '    at Object.Module._extensions..js (module.js:663:10)',
hublin    |      '    at Module.load (module.js:565:32)',
hublin    |      '    at tryModuleLoad (module.js:505:12)',
hublin    |      '    at Function.Module._load (module.js:497:3)',
hublin    |      '    at Module.require (module.js:596:17)',
hublin    |      '    at require (internal/module.js:11:18)',
hublin    |      '    at Object.<anonymous> (/src/backend/webserver/application.js:69:12)',
hublin    |      '    at Module._compile (module.js:652:30)',
hublin    |      '    at Object.Module._extensions..js (module.js:663:10)',
hublin    |      '    at Module.load (module.js:565:32)',
hublin    |      '    at tryModuleLoad (module.js:505:12)',
hublin    |      '    at Function.Module._load (module.js:497:3)',
hublin    |      '    at Module.require (module.js:596:17)',
hublin    |      '    at require (internal/module.js:11:18)',
hublin    |      '    at Object.<anonymous> (/src/backend/webserver/index.js:4:25)',
hublin    |      '    at Module._compile (module.js:652:30)' ] }
hublin exited with code 0

I attach the full log as a file. What is that module pug and why is it missing?
hublin.txt

Hello!
@buzanits Did you manage to fix this one or do you still have this issue?
I'm facing the same, but I run docker-compose up --no-build, as described on the documentation

@dimitriskr No I could not fix this. Same problem with docker-compose up --no-build :-(

Going to have a look at what is going wrong here

same heere

Has anyone found a solution to this? Same issue here

No, I completely gave up installing hublin with Docker :-(

Hello,
I'm on it and already sent a merge request to fix.

pug dependency has been added. Sorry for this, can you try now?

Perfect - All working now!