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(…, …) caused by old version of clone-deep. #1609

Closed
emmenko opened this issue Mar 29, 2022 · 3 comments

Comments

@emmenko
Copy link
Contributor

emmenko commented Mar 29, 2022

Opening an issue for reference, in case someone else is having the same problem.

Describe the bug

Getting an error when building an application with Webpack.

Cannot statically analyse 'require(…, …)' in line 11

Screenshots

image

Additional context

The merge-deep package uses an old clone-deep dependency which causes the above error. Updating clone-deep to its latest version v4 fixes the isse.

More info here: 4f13cb8#r69821886

@tdeekens
Copy link
Owner

Thanks. Will try to use https://github.com/voodoocreation/ts-deepmerge.

It's a bit of a dance with dependencies as the prior library had a non-defined dependency TehShrike/deepmerge#245.

@tdeekens
Copy link
Owner

The releases in this PR could fix the issue. Let me know if it does and if so feel free to close the issue :-).

@tdeekens
Copy link
Owner

tdeekens commented Apr 3, 2022

I think this was fixed. Please re-open if I am wrong :)

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