Skip to content

Conversation

@fredoumulateur
Copy link

I was getting this error :

Uncaught TypeError: unknown stream type "undefined"
at Logger.addStream (webpack:///.//bunyan/lib/bunyan.js?:620:15)
at eval (webpack:///./
/bunyan/lib/bunyan.js?:470:18)
at Array.forEach (native)
at new Logger (webpack:///.//bunyan/lib/bunyan.js?:469:25)
at Function.createLogger (webpack:///./
/bunyan/lib/bunyan.js?:1618:12)
at Object.eval (webpack:///.//activedirectory/lib/activedirectory.js?:16:18)
at eval (webpack:///./
/activedirectory/lib/activedirectory.js?:1901:30)

I corrected it removing the streams element.
Now it works.

I was getting this error :

Uncaught TypeError: unknown stream type "undefined"
    at Logger.addStream (webpack:///./~/bunyan/lib/bunyan.js?:620:15)
    at eval (webpack:///./~/bunyan/lib/bunyan.js?:470:18)
    at Array.forEach (native)
    at new Logger (webpack:///./~/bunyan/lib/bunyan.js?:469:25)
    at Function.createLogger (webpack:///./~/bunyan/lib/bunyan.js?:1618:12)
    at Object.eval (webpack:///./~/activedirectory/lib/activedirectory.js?:16:18)
    at eval (webpack:///./~/activedirectory/lib/activedirectory.js?:1901:30)

I corrected it removing the streams element.
Now it works.
@thabok
Copy link

thabok commented Apr 25, 2020

Please consider to merge @fredoumulateur 's PR since the addressed issue is blocking people who want to use this module in a React App.

@aykutkilic
Copy link

Any reasons that this is not merged? I also get the same error.

@gitraydiaz3000
Copy link

gitraydiaz3000 commented Sep 9, 2021

Did you remove this from bunyan.js or from your wrapper? I see 53 instances of "streams", thinking it would break if I remove all of them.

@uchennaibekwe
Copy link

Did you remove this from bunyan.js or from your wrapper? I see 53 instances of "streams", thinking it would break if I remove all of them.

Here is what was removed: dd6db6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants