I am trying to run a loopback server with ionic client, but I am getting “Error: Cannot GET /cordova.js” error.
My code is in github in : https://github.com/giladba/BetterTrader2.git
problem description :
I created a loopback application, and at the client directory I created an ionic tabs application.
I ran these commands on the client directory :
ionic platform add android
ionic build android
In server/middleware.json I redirected the index.html folder to the ionic www folder like so:
but when i run node . I get cordova.js not found when I open http://localhost:3000/ in the browser :
note that even thought there is an exception the application seems to be working fine.
Any idea how i can fix the exception ?