Skip to content

Updating from 16.4.3 to 16.5.0: Podium.decorate is not a function error #3552

@SanderElias

Description

@SanderElias

Are you sure this is an issue with hapi or are you just looking for some help?

I'm not entierly sure this issue is originating from hapi itself, but when I update to 16.5.0 and I do a request, I get this error:

/.../node_modules/hapi/lib/request.js:63
    Podium.decorate(this, internals.emitter);
           ^
TypeError: Podium.decorate is not a function
    at new internals.Request (/.../node_modules/hapi/lib/request.js:63:12)
    at module.exports.internals.Generator.internals.Generator.request (/.../node_modules/hapi/lib/request.js:32:21)
    at Server.<anonymous> (/.../node_modules/hapi/lib/connection.js:260:48)
    at emitTwo (events.js:125:13)
    at Server.emit (events.js:213:7)
    at parserOnIncoming (_http_server.js:602:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)

(I replaced the long path tih ... for readability)

What are you trying to achieve or the steps to reproduce?

yarn add hapi@16.5.0 introduces the problem.
yarn add hapi@16.4.3 resolved the issue.

I repeated the steps a couple of times, and it is really the upgrade of hapi that triggers the issue.

  • node version: 8.2.0
  • hapi version: 16.5.0
  • os: ubuntu 16.04

Metadata

Metadata

Assignees

Labels

dependencyUpdate module dependency

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions