Closed mabc224 closed 3 years ago
HI @mabc224 can you provide more info and a repro example?
actually, it does not show any more info. It is all I have.
Can you create a simple repro repo? Also, do you have any custom REPL commands?
No, I don't use any custom configuration. All are default.
Sample repo: https://codesandbox.io/s/moleculer-sample-forked-vmtgy
PS: Is it because, I don't have any action with name remove
?
PS: Is it because, I don't have any action with name remove ?
No, it's not. The issue comes from moleculer-repl/src/index.js:39
The repo that you've provided works fine both in codesandbox and on my machine, i.e., I don't see the error
I am using molecular with NATS transporter. and running it in dev mode locally.
I try to set up repo here, but don't have live credentials to use NATS . But you can get an idea by taking a look here. https://codesandbox.io/s/moleculer-sample-forked-bev48
What version are you using? In sandbox it says 0.14.1
but in the OP you indicated 0.14.12
.
I've tested the code that you've provided and got the following error: Unable to start all services. TypeError: Cannot read property 'request' of undefined
that was caused by disableBalancer: true
in moleculer.config
file.
However, after upgrading to 0.14.13
the issue disappeared. Can you update your deps and try again?
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Current Behavior
Error appear after few min and it disconnect automatically.
Expected Behavior
It should not disconnect and error should not appear.
Context
Failure Logs