perftools-runner icon indicating copy to clipboard operation
perftools-runner copied to clipboard

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

Open briantully opened this issue 6 years ago • 0 comments

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?

briantully avatar Jan 13 '20 18:01 briantully