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

Example doesn't start, errors with "Set base fields or route fields or both" #91

Closed
chrisns opened this issue Dec 12, 2016 · 0 comments
Closed

Comments

@chrisns
Copy link
Contributor

chrisns commented Dec 12, 2016

 ✘ cns@mirka  /httpdocs/ho/hof-bootstrap/example   master ●  npm start

> hof-bootstrap-example-app@1.0.0 start /httpdocs/ho/hof-bootstrap/example
> node .

/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/lib/helpers.js:43
      throw new Error('Set base fields or route fields or both');
      ^

Error: Set base fields or route fields or both
    at Function.getFields (/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/lib/helpers.js:43:13)
    at module.exports (/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/lib/router.js:17:26)
    at /httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/index.js:29:35
    at Array.forEach (native)
    at config.routes.forEach (/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/index.js:24:17)
    at Object.bootstrap.start.Promise [as start] (/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/index.js:77:7)
    at module.exports.bootstrap.start.config.routes.forEach.config.middleware.forEach.app.get.app.get (/httpdocs/ho/hof-bootstrap/example/node_modules/hof-bootstrap/index.js:136:15)
    at Object.<anonymous> (/httpdocs/ho/hof-bootstrap/example/index.js:5:1)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)

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