mikronode icon indicating copy to clipboard operation
mikronode copied to clipboard

mikronode needs rxjs 5.3.0

Open leo-combes opened this issue 5 years ago • 3 comments

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.

leo-combes avatar Apr 11 '19 20:04 leo-combes

works fine for me after npm install rxjs@^5.3.0

devstudios avatar Apr 18 '19 07:04 devstudios

Confirmed the same here, rxjs is missing. However, after adding rxjs I'm still facing this issue: https://github.com/Trakkasure/mikronode/issues/93

adams-family avatar Jan 10 '20 08:01 adams-family

Sorry for the confusion, installing 5.3.0 solved the problem.

adams-family avatar Jan 10 '20 08:01 adams-family