dzt / shopify-monitor

Updates you on the latest drops, restocks, and much more for your favorite brands!
433 stars 175 forks source link

Running #1

Closed ac-daman closed 7 years ago

ac-daman commented 7 years ago

Hey, I did setup the config file, did all the setup things, but when I type node monitor.js on my terrminal [11:39:06] Missing, config.json file or invalid json syntax.

dzt commented 7 years ago

Run your config.json in a JSON Validator website like this one http://jsonlint.com/ http://jsonlint.com/ and it should show you where the syntax error is

On Jan 15, 2017, at 2:50 PM, ac-daman notifications@github.com wrote:

Hey, I did setup the config file, did all the setup things, but when I type node monitor.js on my terrminal [11:39:06] Missing, config.json file or invalid json syntax.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dzt/shopify-monitor/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AGH7w-ENcxtdj3MrAd_OcdIgEbRTCwdfks5rSnhqgaJpZM4LkAwk.

ac-daman commented 7 years ago

Ok, thanks, got that fixed but now i get

module.js:472 throw err; ^

Error: Cannot find module '/Users/alfonsocorona/monitor.js' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.runMain (module.js:605:10) at run (bootstrap_node.js:420:7) at startup (bootstrap_node.js:139:9) at bootstrap_node.js:535:3

ac-daman commented 7 years ago

Ok, now i moved monitor.js to my home folder, as well as api.js, b/c i think that was the problem

now i get

module.js:472 throw err; ^

Error: Cannot find module 'cheerio' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/Users/alfonsocorona/api.js:1:79) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3)

dzt commented 7 years ago

You have the run

npm install

As I instructed in the README

On Jan 15, 2017, at 3:08 PM, ac-daman notifications@github.com wrote:

Ok, now i moved monitor.js to my home folder, as well as api.js, b/c i think that was the problem

now i get

module.js:472 throw err; ^

Error: Cannot find module 'cheerio' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/Users/alfonsocorona/api.js:1:79) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dzt/shopify-monitor/issues/1#issuecomment-272719976, or mute the thread https://github.com/notifications/unsubscribe-auth/AGH7w3zPs_IogFksiciGLk3e1xgtqrLwks5rSnyugaJpZM4LkAwk.

ac-daman commented 7 years ago

ok did that, then I'm ready for the monitor.js command?