Loopback shows this error
loopback deprecated loopback#context middleware is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details. at node_modules/loopback/server/middleware/rest.js:60:32
No context available. ns.run() or ns.bind() must be called first.
The middleware config is as same as when using version 2.21.0
This should be fixed by https://github.com/strongloop/loopback/pull/2649 in [email protected] now.
Unfortunately still there even after the latest update :-(
Sun, 28 Aug 2016 03:20:06 GMT loopback deprecated loopback#context middleware is deprecated. See https://docs.strongloop.com/display/APIC/Using%20current%20context for more details. at node_modules/loopback/server/middleware/rest.js:60:32
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
`-- [email protected]
@terehov please open a new issue and describe how to reproduce the problem locally, ideally by creating a sandbox app per our wiki instructions.
Most helpful comment
This should be fixed by https://github.com/strongloop/loopback/pull/2649 in
[email protected]now.