Replies: 2 comments
-
Hey @Wolvinny, Can you share repository ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This Discussion has been converted in issue. Please refer #2559 for more guide. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all.
First of all, i am very new to web development. I do have experience in typescript and node, but this is my first time touching web development, other than fooling around a little with React, so this might be a very simple fix but i've been stuck at this for over 6 hours at this point.
Currently, i am stuck on an issue, where i can import buttons and other components just fine, but they just wont be styled.
Following the guide, i first created an expo project (i am using, or well, trying to use react native)
After that, i ran the gluestack-ui init command and added a button (yes, i also added it using the npx command). I also tried the manual installation but this only caused more issues.
Upon running the
npm start
command, and opening the web version, i am greeted with this error:Unable to resolve module '@/global.css' from C:\Users\<>\app\app\_layout.tsx: '@/global.css' could not be found within the project or in these directories: node_modules
.This points to the lines
which for some reason have additional ' in them (again, clean install, i did not change any code)
After removing those; and restarting the web server, and running the following code.
i get the following result:
None of the other components also render.
I am using Node v22.9.0; react v18.2.0 and expo SDK 51.0.38
I cannot make a snack (it freezes when i upload my code) or a sandbox (it does not allow me to upload any files),
but i feel this is a very simple issue that i cannot wrap my head around, nor have i seen someone with the same issue
Full
npm ls
output:Beta Was this translation helpful? Give feedback.
All reactions