gluestack

gluestack Logogluestack

Cannot setup gluestack in existing Expo/React Native repo

masonb_13663 posted this in #support
Open in Discord
Avatar
masonb_13663OP
npx gluestack-ui init

Welcome to gluestack-ui v3!

◇ Please select the framework you are using:
│ Expo

┌──────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ NOTE: Files to get modified │
│ The command you've run is attempting to modify certain files in your project, │
│ if already exist. Here's what's happening: │
│ - babel.config.js │
│ - metro.config.js │
│ - tailwind.config.* │
│ - global.css │
│ - tsconfig.json │
└──────────────────────────────────────────────────────────────────────────────────────────┘


◇ Proceed with caution. Make sure to commit your changes before proceeding. Continue?

│ Yes

Initializing gluestack-ui v3...

◇ Repository already cloned.

◇ Git pull successful.
npm error code ENOWORKSPACES
npm error This command does not support workspaces.
npm error A complete log of this run can be found in: /Users/me/.npm/_logs/2025-10-20T18_54_17_351Z-debug-0.log

■ Error occured in init. (Error: Command failed: npm config --location=project set legacy-peer-deps=true
│ npm error code ENOWORKSPACES
│ npm error This command does not support workspaces.
│ npm error A complete log of this run can be found in: /Users/me/.npm/_logs/2025-10-20T18_54_17_351Z-debug-0.log
│ )

1 Reply