hapijs / good

hapi process monitoring
Other
525 stars 161 forks source link

I can't use good(^7.3.0) vs hapi(^17.2.0) #573

Closed nvs2394 closed 6 years ago

nvs2394 commented 6 years ago

This is my code

plugin: require('good'),
    options: {
      ops: {
        interval: 1000
    },
    reporters: {
        consoleReporter: [{
            module: 'good-squeeze',
            name: 'Squeeze',
            args: [{ log: '*', response: '*' }]
        }, {
            module: 'good-console'
        }, 'stdout']
      }
    }

I copy it from docs. Can you explain for me then error:

screen shot 2017-12-25 at 2 42 03 pm
frankthelen commented 6 years ago

That is correct. Hapi 17 goes together with Good 8 which is not yet released. Good 7 works with Hapi 16. Hope that helps.

henrikruscon commented 6 years ago

You may simply do yarn add hapijs/good to use Good with Hapi 17 ✌️

opchaves commented 6 years ago

Thanks @henrikdahl, That works!

nvs2394 commented 6 years ago

thanks @henrikdahl That works

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.