Open johncpang opened 7 years ago
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 loopback-component-remote-ctx@0.2 so
npm install --save loopback-component-remote-ctx@0.2
Though loopback-auditz should change package.json to @^0.3 if it does not break.
I followed the instruction and run
nom install --save loopback-component-remote-ctx loopback-auditz
and got this warning:Tried to install each of them separately but not still got the warning. If I run
nom install loopback-component-remote-ctx@0.2.2
, I got:Any suggestion? Thanks.