Files
react-native/packages
Tommy Nguyen 27968eaf9f fix(dev-middleware): fix react-native config failing in pnpm setups (#42907)
Summary:
In a pnpm setup, `react-native config` fails to read `react-native/react-native.config.js` because `ws` was not installed:

```
% node --print 'require("react-native/react-native.config.js")'
node:internal/modules/cjs/loader:1137
  throw err;
  ^

Error: Cannot find module 'ws'
```

## Changelog:

[GENERAL] [FIXED] - fix `react-native config` failing in pnpm setups

Pull Request resolved: https://github.com/facebook/react-native/pull/42907

Test Plan: n/a

Reviewed By: cipolleschi

Differential Revision: D53516703

Pulled By: robhogan

fbshipit-source-id: 3aded393187df4ca9a7abb64a2c8e0f2c9a5fcd9
2024-02-19 02:48:21 -08:00
..
2023-09-26 10:27:39 -04:00
2023-12-14 13:46:03 +00:00
2024-02-05 13:18:42 -08:00
2023-09-27 12:36:19 -04:00
2023-09-26 10:27:39 -04:00
2024-02-04 13:18:34 -08:00
2023-12-14 13:46:03 +00:00