Server Start issue #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The following is an extract from my
server.js
script:I'm not sure where to register the
hapi-sequelize-crud
plugin.When it is as the code above, the server starts up without errors, but none of my routes work (not routes generated by
hapi-sequelize-crud
, or manually created routes).When I add it immediately after the
hapi-sequelize
registration, I get the following error: "Cannot read property 'sequelize' of undefined" or server startup.Okay, I have figured this out. Two issues:
babel-polyfill
missinghapi-sequelize
db name is hardcoded as 'db'@casalot: Hey, you're right about db name being hardcoded, I wasn't aware of such feature.
We're most probably going to switch to Babel 6 here.