Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gluestack starter for v2 not building #2439

Closed
1 of 6 tasks
bidah opened this issue Sep 2, 2024 · 2 comments
Closed
1 of 6 tasks

gluestack starter for v2 not building #2439

bidah opened this issue Sep 2, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bidah
Copy link

bidah commented Sep 2, 2024

Description

can't run the app

CodeSandbox/Snack link

https://github.com/bidah/gluestack-v2-starter-issue

Steps to reproduce

  1. download reproducible repo with error https://github.com/bidah/gluestack-v2-starter-issue
  2. try to run app with bun start or bun start -c

getting this error:

TypeError: Cannot read properties of null (reading 'nativewind')
TypeError: Cannot read properties of null (reading 'nativewind')
    at /Users/rofi/Programing/gluestack-v2/node_modules/nativewind/src/metro/tailwind/v3/index.ts:75:19
    at Array.some (<anonymous>)
    at tailwindConfigV3 (/Users/rofi/Programing/gluestack-v2/node_modules/nativewind/src/metro/tailwind/v3/index.ts:74:37)
    at tailwindConfig (/Users/rofi/Programing/gluestack-v2/node_modules/nativewind/src/metro/tailwind/index.ts:17:28)
    at withNativeWind (/Users/rofi/Programing/gluestack-v2/node_modules/nativewind/src/metro/index.ts:33:39)
    at Object.<anonymous> (/Users/rofi/Programing/gluestack-v2/metro.config.js:16:18)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1023:12)
error: script "start" exited with code 1

gluestack-ui Version

latest

Platform

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

Other Platform

No response

Additional Information

No response

@bidah bidah added the bug Something isn't working label Sep 2, 2024
@Viraj-10
Copy link
Collaborator

Viraj-10 commented Sep 2, 2024

Hey @bidah, Thanks for reporting the issue. We will have a look and get back to you.

@vaibhk20
Copy link
Contributor

vaibhk20 commented Sep 6, 2024

Hi @bidah, thank you for reporting the issue. We have updated our starter-kits for gluestack-ui v2 and the concerned issue should be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants