Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build hatjitsu using docker-compose on ubuntu 20.04 #31

Open
PauloGDPeixoto opened this issue Feb 3, 2021 · 2 comments
Open

Can't build hatjitsu using docker-compose on ubuntu 20.04 #31

PauloGDPeixoto opened this issue Feb 3, 2021 · 2 comments

Comments

@PauloGDPeixoto
Copy link

The build itself processes without errors, but as soon as docker-compose tries to launch the container I get this error:

poker_1  | var app = module.exports = express.createServer();
poker_1  |                                    ^
poker_1  | 
poker_1  | TypeError: express.createServer is not a function
poker_1  |     at Object.<anonymous> (/Hatjitsu/server.js:12:36)
poker_1  |     at Module._compile (internal/modules/cjs/loader.js:1063:30)
poker_1  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
poker_1  |     at Module.load (internal/modules/cjs/loader.js:928:32)
poker_1  |     at Function.Module._load (internal/modules/cjs/loader.js:769:14)
poker_1  |     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
poker_1  |     at internal/main/run_main_module.js:17:47
hatjitsu_poker_1 exited with code 1
@jlagerweij
Copy link

jlagerweij commented Mar 2, 2021

I had the same problem and created a PR to fix the code again so it works with the new dependabot dependencies.
See this PR: #30

@PauloGDPeixoto
Copy link
Author

PauloGDPeixoto commented Mar 2, 2021

I had the same problem and created a PR to fix the code again so it works with the new dependabot dependencies.
See this PR: #30

I worked around this issue precisely by using your dependency-upgradesbranch :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants