Open davoclavo opened 7 years ago
Quick temporary workaround: I was able to run the interface via npm run build
in the raspberry pi and then running a simple server: cd dist; python -m SimpleHTTPServer
, then visiting http://rasp.berry.pi.ip:8000/
I think the problem is it doesn't map the --app_db_url argument properly... I can look into this, but in the meanwhile it's possible to just do ./node_modules/grunt-cli/bin/grunt couchapp_deploy --app_db_url="http://localhost:5984/app"
Oh good call! After digging a bit, it seems that a --
has to be included in between the npm command and the arguments. So it becomes:
npm run couchapp_deploy -- --app_db_url="http://localhost:5984/app"
I'm unable to deploy the UI to couchdb via
npm run couchapp_deploy --app_db_url="http://localhost:5984/app"
. I've tested running it from the raspberry pi and from my laptop (osx) without luck. This is the error I'm getting