Closed aguycalled closed 2 years ago
@aguycalled, I am sorry for your issue. However, I do not understand your problem. If you want to resolve react-native-tcp-socket
as net
, you should add the configuration to your package.json
file. Take a look at the docs about overriding net
here.
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.
Description
Can't require the module from
metro.config.js
to resolvenet
, as it is needed by a third party library.Steps to reproduce
Project created with
npx react-native init
.Contents of
metro.config.js
:Current behavior
Error:
Expected behavior
Module should be loaded
Screenshots If applicable, add screenshots to help explain your problem.
Relevant information