hapijs / good

hapi process monitoring
Other
525 stars 161 forks source link

Error: Cannot find module 'good-squeeze' #567

Closed dotbenj closed 7 years ago

dotbenj commented 7 years ago

Hey there, I'm trying to use good for HTTPCOMBINED log reporting into my console and when I follow the exemple on the readme I end up with this message: Error: Cannot find module 'good-squeeze'

I installed good with this npm command: npm i good --save

I took a look at good package.json and I did not find any good squeeze dependency Did I miss something ?

arb commented 7 years ago

Yes, you need to add good-squeeze. It's not bundled with good and is its own module.

dotbenj commented 7 years ago

You should document it on your README.md. Something like: Run the install: npm i good good-squeeze good-console

Anyway thanks for your answer

arb commented 7 years ago

I have no way of knowing what modules a user is going to need. You can use any stream module from npm with good.

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.