Answer by Steve Traut · Apr 28, 2015 at 08:53 PM
Hi Samir,
Are you seeing this while doing the Recommendations tutorial? Did you add usergrid as a dependency to your package.json file? That's described in the "Create the recommendations API" section of the tutorial.
"name": "recommendations-api", "version": "0.0.1", "private": "true", "description": "My new Apigee 127 Project", "keywords": [], "author": "", "license": "", "main": "app.js", "dependencies": { "express": "3.x.x", "a127-magic": "^0.7.0", "async": "^0.9.0", "usergrid": "^0.10.9", "volos-analytics-apigee": "", "volos-analytics-common": "", ...more omitted...
Steve
Answer by Steve Traut · Apr 29, 2015 at 08:15 PM
Samir, your original post suggests you've got 'user grid' instead of 'usergrid' in your package.json. Have you confirmed that you've got it as one word, without a space?
Steve
Answer by Samir Kanta Lenka · Apr 29, 2015 at 02:27 PM
Yes Steve.I added the user grid as a dependency to package.json and also copied the same file form the example but still I am getting the same problem.Please do Suggest me how to solve this problem.