Skip to content

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

@briantully

Description

@briantully

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions