Skip to content

installation issue in React Native 0.77 made with RNCLI #2735

Open
@Deepakvermaadequate

Description

@Deepakvermaadequate

Description

ERROR Error: Unable to resolve module react-dom from G:\DeepakVerma\appserve\newremitapp\SimplyRemit\node_modules@react-aria\utils\dist\animation.main.js: react-dom could not be found within the project or in these directories: node_modules 1 | var $78605a5d7424e31b$exports = require("./useLayoutEffect.main.js"); > 2 | var $bsryd$reactdom = require("react-dom");

CodeSandbox/Snack link

https://ui.gluestack.io/docs/

Steps to reproduce

getting while installing the gluestack package

"dependencies": {
"@gluestack-style/react": "^1.0.57",
"@gluestack-ui/config": "^1.1.20",
"@gluestack-ui/themed": "^1.1.65",
"@gluestack-ui/themed-native-base": "^0.1.108",
"@react-native-community/netinfo": "^11.4.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/drawer": "^7.1.1",
"@react-navigation/native": "^7.0.14",
"@react-navigation/native-stack": "^7.2.0",
"@rneui/base": "^4.0.0-rc.8",
"@rneui/themed": "^4.0.0-rc.8",
"moment": "^2.30.1",
"react": "18.3.1",
"react-native": "0.77.0",
"react-native-gesture-handler": "^2.22.1",
"react-native-reanimated": "^3.16.7",
"react-native-reanimated-carousel": "^3.5.1",
"react-native-safe-area-context": "^5.1.0",
"react-native-screens": "^4.5.0",
"react-native-svg": "^15.11.1",
"react-native-vector-icons": "^10.2.0",
"react-native-webview": "^13.13.2"
},

BUNDLE ./index.js

ERROR Error: Unable to resolve module react-dom from G:\DeepakVerma\appserve\newremitapp\SimplyRemit\node_modules@react-aria\utils\dist\animation.main.js: react-dom could not be found within the project or in these directories:
node_modules
1 | var $78605a5d7424e31b$exports = require("./useLayoutEffect.main.js");

2 | var $bsryd$reactdom = require("react-dom");
| ^
3 | var $bsryd$react = require("react");
4 |
5 |

gluestack-ui Version

1.1.65

Platform

  • Expo
  • React Native CLI
  • Next
  • Web
  • Android
  • iOS

Other Platform

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions