eth-lib icon indicating copy to clipboard operation
eth-lib copied to clipboard

Fix require must have a single string literal argument error in rn.

Open flaviouk opened this issue 7 years ago • 5 comments

Error msg: bundling failed: Error: require() must have a single string literal argument

flaviouk avatar Dec 14 '17 21:12 flaviouk

I would love to see this fixed 2, please consider merging soon...

connectdotz avatar Dec 23 '17 13:12 connectdotz

@MaiaVictor whats the reason for this?

frozeman avatar Jan 17 '18 16:01 frozeman

I'm also affected by this issue. It causes React Native to throw an exception when trying to build an app that has this library as a dependency. Here is a relevant issue posted for react-native https://github.com/facebook/metro/issues/65

BohdanTkachenko avatar Jan 20 '18 02:01 BohdanTkachenko

Fixed conflicts, let me know if there's anything else

flaviouk avatar Aug 30 '18 07:08 flaviouk

This is still affecting react-native users.

armaniferrante avatar Mar 23 '19 00:03 armaniferrante