You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
When using the @gluestack-style/babel-plugin-styled-resolver babel plugin, importing @gluestack-style/config results in the following error to be thrown:
node_modules/@gluestack-ui/config/build/gluestack-ui.config.js: /Users/chris/Development/Personal/Expo/gluestack-babel-bug-repro/node_modules/@gluestack-ui/config/build/gluestack-ui.config.js: Cannot read properties of undefined (reading 'forEach')
Hi @fnky, we are going to pick this up in the next few sprints. There are pending tasks that are prioritised higher in our tracker. Hope you understand 🙂
When using the
@gluestack-style/babel-plugin-styled-resolver
babel plugin, importing@gluestack-style/config
results in the following error to be thrown:You can find a minimal reproduction of this here.
Clone the repo and run
yarn start --clear
(to ensure cache clearance) and start the project on iOS or Android.Removing the babel plugin resolves the issue.
Tested on Expo 48 and 49. Not tested with bare React Native.
Also tested with and without setting
GLUESTACK_STYLE_TARGET=native
environment variable.The text was updated successfully, but these errors were encountered: