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

Error starting reviewme #1

Closed
IchordeDionysos opened this issue Oct 4, 2017 · 3 comments
Closed

Error starting reviewme #1

IchordeDionysos opened this issue Oct 4, 2017 · 3 comments

Comments

@IchordeDionysos
Copy link

Hi, I'm getting this error when I try to start reviewme like this.
reviewme ./thesimpleclub-config.json

module.js:472
    throw err;
    ^

Error: Cannot find module './thesimpleclub-config.json'
    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.<anonymous> (/usr/lib/node_modules/@trademe/reviewme/bin/reviewme.js:18:14)
    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)

cat thesimpleclub-config.json

{
  "slackHook": "https://hooks.slack.com/services/hook/hook/hook",
  "verbose": true,
  "dryRun": false,
  "botUsername": "ReviewMe",
  "interval":300,
  "apps": [
    {
      "appId": "some.package.id",
      "publisherKey": "review-me-publisher.json"
    },
    {
      "appId": "49917",
      "regions": [
              "de" 
      ]
    }
  ]
}
@IchordeDionysos
Copy link
Author

what did i wrong

@josh-burton
Copy link
Collaborator

Hi, thanks for opening this issue. Sorry for the delay - I've been on holiday.

Can you try using the full path to the file rather than a relative one?

@jamiesanson
Copy link
Contributor

Closing due to inactivity. Feel free to re-open if this is still an issue 👌

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

No branches or pull requests

3 participants