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

when running locally and via docker compose I am getting following error: "ReferenceError: client is not defined" #156

Open
edib opened this issue Jan 12, 2024 · 0 comments

Comments

@edib
Copy link

edib commented Jan 12, 2024

[nodemon] starting node server.js
/mockbin/lib/routes/bins/view.js:4
client.get(bin:${req.params.uuid + req.params[0]}, (err, value) => {
^

ReferenceError: client is not defined
at module.exports [as view] (/mockbin/lib/routes/bins/view.js:4:2)
at Object.bins (/mockbin/lib/routes/bins.js:54:18)
at router (/mockbin/lib/index.js:53:29)
at module.exports (/mockbin/src/index.js:40:15)
at Object. (/mockbin/server.js:22:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

Node.js v18.17.1
[nodemon] app crashed - waiting for file changes before starting...

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

1 participant