fzaninotto / screenshot-as-a-service

Website screenshot service powered by node.js and phantomjs
1.1k stars 243 forks source link

The service is not working #58

Open tdhung80 opened 10 years ago

tdhung80 commented 10 years ago

Hi, I am sorry to post it here, because i cannot find a forum here.

Today, I have downloaded it, unzip it, and follow the document, however i cannot get it work due to an exception.

node screenshot-as-a-service-master\app.js

module.js:340 throw err; ^ Error: Cannot find module 'config' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (D:\Working Folder\Projects\NodeJS\screenshot-as-a-service-master\app.js:4:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

I am using Windows 7 32 bit, and NodeJS v0.10.28, and PhantomJS 1.9.7

Any help will be very appreciated!

My Best, Hung Tran

jaydiablo commented 10 years ago

Sounds like you didn't install the dependencies. Make sure you run npm install after downloading/unzipping the project.

You'll need to have NPM installed obviously, I'm not familiar with Windows + Node/NPM but I'm sure there are plenty of resources out there.