Open timreachmaine opened 8 years ago
Just noticed that after running "node app.js" in terminal....after a long delay, I get a response of "TypeError: Cannot read property 'project' of undefined.
Unhandled rejection Error: [index_not_found_exception] no such index, with: {"resource.type":"index_or_alias","resource.id":"project","index":"project"}
at respond (/home/tim/Documents/node_modules/elasticsearch/src/lib/transport.js:256:15)
at checkRespForFailure (/home/tim/Documents/node_modules/elasticsearch/src/lib/transport.js:219:7)
at HttpConnector.
Hey @timreachmaine,
Thanks for providing more details. "regional search hub for autos, real estate, jobs, business directory and news search" that's great use case.
In terms of bugs I've tested that on digitalocean.com with ubuntu 14.04 and 16.04. Actually I had similar problem once using the latest npm. Once I downgraded it to npm 3.8.6 everything was fine.
I recommend you to look at https://github.com/itemsapi/dashboard/blob/master/TROUBLESHOOTING.md. I've addressed your issues there and hope it will be helpful.
I recommend also starting with PORT=3000 npm start
instead of node app.js
In terms of second error, that's weird, it can be caused by the newest version of Elasticsearch 2.4. I am using mostly Elasticsearch 1.7. Hope I'll debug that someday.
I've tested also dashboard now with heroku and everything is fine and even importing example data (https://raw.githubusercontent.com/itemsapi/itemsapi-example-data/master/items/restaurants.json) by form works very well out of the box
Let me know if that helped you fix problem, if not we could try another methods.
grunttesterrors.txt Running ElasticSearch 2.4 Ubuntu 16.04.1 LTS Nodejs 4.5.0 nodeapp.jserror.txt npminstallerror.txt npminstallproductionerror.txt
As I mentioned, I installed the Dashboard from GIT AFTER installing the backend. I cannot seem to resolve the CRUD backend either. Thanks for any help. I hope to develop a regional search hub for autos, real estate, jobs, business directory and news search for a regional publisher with this potentially awesome platform.