helpers/logging-helpers

cannot statically analyse 'require(..., ...)'

devinprejean opened this issue · 1 comments

Seems there is an issue with log-utils package when doing a bundle.
I've found if you update log-utils to the .0.3.0 (latest) package the error goes away.
Full error below:

Error - [webpack] 'dist':
./node_modules/logging-helpers/node_modules/log-utils/index.js
Cannot statically analyse 'require(..., ...)' in line 21

dluk commented

I resolved it in my project by adding latest log-utils to resolutions in package.json:

"resolutions": {
    "log-utils": "1.0.0"
}