react-instagram-embed icon indicating copy to clipboard operation
react-instagram-embed copied to clipboard

2.0.1 doesn't build with webpack 5

Open patrickconroy opened this issue 3 years ago • 1 comments

Hello. I'm having an issue with 2.0.1. I get the following when trying to build with webpack:

ERROR in ./node_modules/react-instagram-embed/es/index.js 1:1243-1278
Module not found: Error: Can't resolve 'querystring' in './node_modules/react-instagram-embed/es'

This doesn't happen with 2.0.0 because that has querystring listed in its dependencies but it was removed in 2.0.1. Was there a reason it was removed? I don't want to add that to my root dependencies.

Thanks, Patrick

patrickconroy avatar Jul 11 '21 18:07 patrickconroy

Same error, any solution?

martinmorenoc avatar Feb 15 '22 20:02 martinmorenoc