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

Can this be run locally without setting up an IAM instance? #7

Open
briantully opened this issue Jan 13, 2020 · 0 comments
Open

Can this be run locally without setting up an IAM instance? #7

briantully opened this issue Jan 13, 2020 · 0 comments

Comments

@briantully
Copy link

I just tried setting this up on my local laptop, but when I run npm start it fails with the following error:

npm start

> [email protected] start /Users/brian.tully/Sites/perftools-runner
> node --experimental-modules server.mjs

(node:75810) ExperimentalWarning: The ESM module loader is experimental.
Missing bitlyAccount.json containing an accessToken property.
{ Error: ENOENT: no such file or directory, open './serviceAccount.json'
    at Object.openSync (fs.js:443:3)
    at Proxy.readFileSync (fs.js:343:35)
    at file:///Users/brian.tully/Sites/perftools-runner/server.mjs:40:19
    at ModuleJob.run (internal/modules/esm/module_job.js:95:12)
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: './serviceAccount.json' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node --experimental-modules server.mjs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Can this be run without the serviceAccount.json and bitlyAccount.json or are these required no matter what?

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

1 participant