strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

[question] followed tutorial, localhost:3000 doesn't render index.ejs? #57

Closed rbutera closed 9 years ago

rbutera commented 9 years ago

I've created a repo of my version of the example app @ github/raibutera/try-loopback-access-control

as you can see, running node . in that project and opening a browser to localhost:3000 does not render index.ejs, but instead something akin to this:

{
  "started": "2015-05-06T05:50:04.230Z",
  "uptime": 39.764
}

has anyone else had a similar issue?

superkhau commented 9 years ago

You need to remove root.js from server/boot in your project. This tutorial uses an older version of LoopBack where you didn't have to do this manually.