mchacki / demo-marvel-hero-universe

Apache License 2.0
8 stars 5 forks source link

running app in dev mode not possible? #2

Open luebbert42 opened 10 years ago

luebbert42 commented 10 years ago

I installed the app using Foxx's dev mode. When I type in the search field I am getting errors:

Do I have to manually import the data before I can use the app?

A runtime error occurred while executing an action: TypeError: Cannot call method 'name' of null TypeError: Cannot call method 'name' of null at Foxx.Repository.extend.like (/repositories/heros:50:33) at controller.get.pathParam.description (/Users/luebbert/apps/databases/_system/marvel-hero-universe/marvel.js:57:26) at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/actions/api-system.js:104:7) at next (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/actions/api-system.js:116:5) at [object Object]:166:5 at execute (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/actions/api-system.js:104:7) at Function.routing (/usr/local/Cellar/arangodb/HEAD/share/arangodb/js/actions/api-system.js:119:3) This error was triggered by the following route {"path":"/dev/marvel-hero-universe/search/.+","regexp":{},"prefix":false,"depth":4,"urlParameters":{"content":3},"callback":{"options":{},"methods":["DELETE","GET","HEAD","OPTIONS","POST","PUT","PATCH"]},"route":{"url":{"match":"/search/:content","methods":["get"],"constraint":{"content":"/.+/"}},"action":{},"docs":{"parameters":[{"paramType":"path","name":"content","description":"The string to search for","dataType":"string"}],"errorResponses":[],"httpMethod":"GET","nickname":"get_search_content","summary":"Do a like search on all hero names","notes":"\nThis function simply returns the list of all heros containing the given string.\n"},"context":"/"}}