Closed roowilliams closed 6 years ago
Still not able to run the example but I have managed to build a node app that allows me to adjust camera settings, take and download photos to the file system. I'm going to attempt live preview today.
Just try npm install superagent
. I think I removed it from the package.json for some reason, and the example code is not well-maintained :D
Issue seems resolved by manually installing superagent
, for library updates see #94.
Hello,
I've managed with some success to communicate with camera's using this lib I can load settings and write settings, but I am now trying to move on to getting an image preview. I've tried to reference the example but I cannot get it to run.
Here's my install process:
npm install ghoto2
Get this error:
cd node_modules/gphoto2
npm install
Launch browser to localhost:1337, blank screen console reads:
GET http://localhost:1337/js/superagent.js
embedded:2 Uncaught ReferenceError: superagent is not defined
I have tried downloading superagent.js and add to
public/js/
, but that leads to an error with require...Am I missing a step/lots of steps?
Thanks
Roo