-
The line
`await HauteCouture.using()(server, options);`
results in
`Error: "schwifty" is not a method on the passed server.`
when trying to `npm start` or `npm test`.
The fix is to repl…
-
## Today
The current `next` API for route handlers is the following:
**next()**
- goes to the next handler in the chain (if any)
**next('fooRoute')**
- [re-routes](https://github.com/restif…
-
Hi,
I've just started using hapi on a pet project, put together a boilerplate, then added hapi-auth-cookie, and tried to write my first test for it to see if I did right. Unfortunately, I didn't. Mor…
nagyv updated
4 years ago
-
Hi,
I have written a small Hapi App (Hapi 8.0.0.) and would like to test for successful plugin registration.
I know that my register function was called, because I am adding values to server.app but…
-
I'm getting this error in Hapi 6.0.2.
``` javascript
140623/172346.510, internalError, message: Uncaught error: Invalid nested use of protect.run() stack: Error: Uncaught error: Invalid nested use o…
-
Hi, I would just like some help setting up angular2 to run from a public folder under hapijs. Atm i have read several other issues about this, but none seem to resolve my problem.
any help would be g…
-
Hi,
I'm start with hapi-ninja boilerplate.
I need to make accessible some variable.
For example I create a service and I start ("construct", "load") it in the server.js (main file).
I would that this…
-
## The dependency [hapi-auth-jwt2](https://github.com/dwyl/hapi-auth-jwt2) was updated from `8.8.0` to `8.8.1`.
🚨 [View failing branch](https://github.com/GrabarzUndPartner/gp-boilerplate/compare/ma…
-
# 🐞 Bug report
#### What modules are related to this issue?
- [ ] aspnetcore-engine
- [ ] builders
- [ ] common
- [x] express-engine
- [ ] hapi-engine
- [ ] module-map-ngfactory-loader
#…
-
I am using [this boilerplate](https://github.com/devinivy/boilerplate-api) for a project.
This is the error I get when I run `npm start`:
```
/Users/franzip/Work/project-api/node_modules/hapi/node_m…