Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
devinprejean opened this issue Oct 24, 2018 · 1 comment
Open

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

devinprejean opened this issue Oct 24, 2018 · 1 comment

Comments

@devinprejean
Copy link

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
Copy link

dluk commented Nov 20, 2020

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

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

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

No branches or pull requests

2 participants