Closed tooviral closed 10 years ago
Can you try running the following in a command prompt: "node C:\xampp\htdocs\WWW\nzbFamilyHub\app.js"?
Did you already run "npm install" within the C:\xampp\htdocs\WWW\nzbFamilyHub\ directory?
I did run "npm install"
Get another error after i try logging in http://pastebin.com/45rgESMP
What do your CouchPotato settings look like in config.js? Is it enabled? If so, is it properly configured with the API key?
You get this error as soon as you try to pull up the website right?
Couchpotato is enabled, running on same machine as couch. API is correct.
Errors out if set to false also.
Yes it starts up fine, but when trying to access it it errors out.
Error below
undefined:0
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at IncomingMessage.
npm ERR! application-name@0.0.1 start: node app
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the application-name@0.0.1 start script.
npm ERR! This is most likely a problem with the application-name package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node app
npm ERR! You can get their info via:
npm ERR! npm owner ls application-name
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! cwd C:\xampp\htdocs\WWW\nzbFamilyHub
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\xampp\htdocs\WWW\nzbFamilyHub\npm-debug.log
npm ERR! not ok code 0
with a text editor, edit the app.js file and change line 85 from: callback( null, JSON.parse( data ) );
to the following: console.log('cp data', data); callback( null, data );
Then paste me back the output and see if that loads, it is either an error in how I parsed the return, or something in your movie data throwing it. Do you have a lot of movies in couch potato?
Edited the app.js file, this is only with nzbdrone enabled, everything else set to false
error below
events.js:72 throw er; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND at errnoException (dns.js:37:11) at Object.onanswer as oncomplete
npm ERR! application-name@0.0.1 start: node app
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the application-name@0.0.1 start script.
npm ERR! This is most likely a problem with the application-name package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node app
npm ERR! You can get their info via:
npm ERR! npm owner ls application-name
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! cwd C:\nzbFamilyHub
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\nzbFamilyHub\npm-debug.log
npm ERR! not ok code 0
I will post an update this afternoon. The issue is that even with CP or nzbDrone disabled, it is still making the initial API call on page load and failing if it doesn't have all the data. If you add a CP server it should work. I will make the update so it will not make those calls on load if the service(s) are disabled.
I do have couchpotato also, running the devolpment branch. I get the error enabled or disabled regardless.
Movie Library is 1000+ running Version0771aeac (20/7/2014 10:20:12)
Got it running, at line 32 in config.js there is an extra comma at the end of "true"
Removed that and its running now.
Can't get it to load
error at http://pastebin.com/KdzFDzdr