mikronode
mikronode copied to clipboard
mikronode needs rxjs 5.3.0
Would be need to add an advertising that install can fail because the last version of rxjs (6.4.0) not work with mikronode. If install rxjs by default, it is installed the last version, and when mikronode attemp to connect with routerOS, throws this error:
Unhandled rejection: {}
Rejected {
context: { parent: { parent: undefined } },
id: 1,
value:
TypeError: _sentence$.get(...).do is not a function
Seems as rxjs it is not installed, but is no the case:
npm list mikronode
├── [email protected]
└── UNMET PEER DEPENDENCY [email protected]
rxjs is installed, but claim for unmet dependency. If I try to install:
npm install rxjs
npm WARN [email protected] requires a peer of rxjs@^5.3.0 but none is installed. You must install peer dependencies yourself.
The solution is install rxjs 5.3.0 manually:
npm install rxjs@^5.3.0
Seems to be a silly problem, but it took me too long to realize it. Perhaps someone else finds the warning useful.
works fine for me after npm install rxjs@^5.3.0
Confirmed the same here, rxjs is missing. However, after adding rxjs I'm still facing this issue: https://github.com/Trakkasure/mikronode/issues/93
Sorry for the confusion, installing 5.3.0 solved the problem.