UNMET PEER DEPENDENCY when npm install, need support of remote-cdx 0.3.0
I followed the instruction and run nom install --save loopback-component-remote-ctx loopback-auditz and got this warning:
├── [email protected]
└── UNMET PEER DEPENDENCY [email protected]
npm WARN [email protected] requires a peer of loopback-component-remote-ctx@^0.2.2 but none was installed.`
Tried to install each of them separately but not still got the warning. If I run nom install [email protected], I got:
└── [email protected] invalid
Any suggestion? Thanks.
I have the same problem. Please, let me know if you have found a solution!
Thank you!
No. I just ignore the warning.
But having remote ctx seems breaking some functions. I need to black list several methods in "member" (an extended model from "User") but not the whole model, as I have some related remote method which take advantage of the remote ctx (able to get the POST body in observe('after save',...)
I'm considering write my own mixin to replicate the features but without remote-ctx.
Thank you for the answer!
I can't even use loopback with the described settings. I obtain this error:
Cannot load the LoopBack application: Cannot read property 'createModel' of undefined
Have you seen it?
Thank you!
With remote-ctx, your ctx and other arguments are changed. Need to check before use. I use console.log(ctx) and look for the changes.
just install [email protected] so
npm install --save [email protected]
Though loopback-auditz should change package.json to @^0.3 if it does not break.