Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with nitrous.io installation #13

Closed
dainiuxt opened this issue Jul 14, 2014 · 5 comments
Closed

Problem with nitrous.io installation #13

dainiuxt opened this issue Jul 14, 2014 · 5 comments
Labels

Comments

@dainiuxt
Copy link

Ed,

when i trying to run anon in nitrous.io box, I get error:

Error: Cannot find module './config.json'
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.main as run
at Object. (/home/action/.parts/lib/node_modules/anon/bin/anon:12:8)
at Object. (/home/action/.parts/lib/node_modules/anon/bin/anon:14:4)
at Module._compile (module.js:456:26)

Also, I would like to ask you how to configure to track not only wikipedia.com but also lt.wikipedia.com and lt.wikipedia.com domains. Thank you.

@victorb
Copy link

victorb commented Jul 14, 2014

Don't forget that you'll need to move config.json.template to config.json or use anon --config config.json.template if you don't move it.

Also, the application seems to watch all the different languages by default, not only the english one.

@webster
Copy link

webster commented Jul 14, 2014

This happened to me too, even if the file was named config.json. I couldn't get it to work with --config config.json either, I had to --config /full/path/to/config.json and then it worked.

@dainiuxt
Copy link
Author

Thank you, webster, worked like a charm :)
P.S. how can we move this thread to "solved"?

@edsu
Copy link
Owner

edsu commented Jul 15, 2014

It seems to me that the relative path should work too. I'm going to leave this open until that is resolved.

@edsu edsu added the bug label Jul 15, 2014
@edsu edsu closed this as completed in 1102582 Jul 15, 2014
@ghost
Copy link

ghost commented Aug 10, 2014

Im having this problem while deploying in heroku

2014-08-10T04:06:25.721135+00:00 app[worker.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-08-10T04:06:25.721137+00:00 app[worker.1]: at Function.Module._load (module.js:280:25)
2014-08-10T04:06:25.721138+00:00 app[worker.1]:
at Module.require (module.js:364:17)
2014-08-10T04:06:25.721140+00:00 app[worker.1]: at require (module.js:380:17)
2014-08-10T04:06:25.721141+00:00 app[worker.1]: at loadJson (/app/anon.coffee:60:3)
2014-08-10T04:06:25.721145+00:00 app[worker.1]: at main (/app/anon.coffee:130:12)
2014-08-10T04:06:25.721143+00:00 app[worker.1]: at getConfig (/app/anon.coffee:48:12)
2014-08-10T04:06:25.721146+00:00 app[worker.1]: at Object. (/app/anon.coffee:141:3)
2014-08-10T04:06:25.721148+00:00 app[worker.1]: at Object. (/app/anon.coffee:3:1)
2014-08-10T04:06:25.721151+00:00 app[worker.1]:
2014-08-10T04:06:25.721149+00:00 app[worker.1]: at Module._compile (module.js:456:26)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants