vietthang / hapi-boilerplate Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
Any future plan to update boilerplate with Hapi 17 and latest Webpack and babel?
Thanks
Hello,
First let me say I think this is one of the best boilerplates I've found.
I noticed, however, the seed data contains some errors.
The second problem is easy to solve. The first can be fixed by creating the UUID before the insert. The problem is the original code should work, at least according to the knex docs. Are you able to reproduce the first issue?
The content resource fails a validation check somewhere.
It could be the data field that saves an object.
[1] Debug: internal, implementation, error
[1] Error: Validation Error
[1] at Object.responseFailAction [as failAction] (/home/nigel/Documents/hapi-boilerplate-master/node_modules/overjoy-swag/src/hapiIntegration.ts:60:14)
[1] at request._protect.run (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/validation.js:213:45)
[1] at module.exports.internals.Protect.internals.Protect.run (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/protect.js:62:12)
[1] at postValidate (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/validation.js:210:26)
[1] at Hoek.once (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/protect.js:52:16)
[1] at wrapped (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/node_modules/hoek/lib/index.js:871:20)
[1] at Object.validate (/home/nigel/Documents/hapi-boilerplate-master/node_modules/overjoy-swag/src/validate.ts:49:7)
[1] at /home/nigel/Documents/hapi-boilerplate-master/node_modules/overjoy-swag/src/hapiIntegration.ts:80:51
[1] at request._protect.run (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/validation.js:239:16)
[1] at module.exports.internals.Protect.internals.Protect.run (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/protect.js:62:12)
[1] at exports.response (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/validation.js:237:22)
[1] at each (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/request.js:380:16)
[1] at iterate (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/node_modules/items/lib/index.js:36:13)
[1] at done (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/node_modules/items/lib/index.js:28:25)
[1] at finalize (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/handler.js:21:16)
[1] at Hoek.once (/home/nigel/Documents/hapi-boilerplate-master/node_modules/hapi/lib/protect.js:52:16)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.