I'm referring below link to set up loopback framework and to create simple APIs
https://docs.strongloop.com/display/public/LB/Getting+started+with+LoopBack
But I'm getting following error when I tried to connect my API to datasourcenot getting what is the reason and how to resolve it. Please anyone can help me in resolving this.
Error: Cannot migrate models not attached to this datasource: CoffeeShop
at /Users/emotian/Development/loopback-getting-started/node_modules/loopback-datasource-juggler/lib/datasource.js:822:14
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickDomainCallback (node.js:390:13)
at process.fallback (/Users/emotian/Development/loopback-getting-started/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/index.js:450:15)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:139:18)
at node.js:968:3