node-auth0: Deepmerge is not a function
Version: 2.9.1 Node version: 6.10 Environment: AWS Lambda
I’m having trouble with a transitive dependency that this project is using called deepmerge, via rest-facade. At runtime I get an error deepmerge is not a function
.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 33 (6 by maintainers)
This workaround might get you by: https://github.com/KyleAMathews/deepmerge#webpack-bug
Aha, binning my
node_modules
and reinstalling has revealed that Auth0 is using deepmerge, throughrest-facade
.Is it possible that these two versions of deepmerge are somehow conflicting? I can see how in Pacey’s case he’d end up with something similar if he was using a newer version of
rest-facade
that included a different version of deepmerge.I’ll do some digging tomorrow to understand how these two packages are importing deepmerge.