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

Theme is Broken. Won't install and work with new site #25

Open
Windows95plus opened this issue Jun 12, 2024 · 1 comment
Open

Theme is Broken. Won't install and work with new site #25

Windows95plus opened this issue Jun 12, 2024 · 1 comment

Comments

@Windows95plus
Copy link

Windows95plus commented Jun 12, 2024

So I've been trying to use this theme and make a Gatsby site but it doesn't work at all.

When I follow the instructions to install it with a new site at Gatsby using the terminal and Gatsby command line
I get hella errors during the install process too but when it does install and I try to go the site in the local host 8000 or whatever i get this error in the browser:
–error in function createfiberfromtypeandprops in ./node_modules/react Dom/CJS/react- dom . development.js: 208478

I have zero coding experience at all like I don't know how to code anything at all. This is my first time trying to do any kind of web development. But I followed the Gatsby tutorial to learn how to use Gatsby and then I followed the tutorial on install a theme and I even watch YouTube videos of people showing how to install themes to learn how to do it. And nothing
And then I went to ask for help online and somebody tried it and this is what they said:

"😳Didn't work for me, here's what I did. Created an empty directory.Open terminal.Executed, npx gatsby new my-nostalgic-blogHave coffee while you wait. cd my-nostalgic-blogThen, npx gatsby developAnd, visit http://localhost:8000Site loads but I think this is the default theme Next, installed stuff, npm install u/react95/core u/react95/gatsby-theme styled-componentsAnd nothing got installed due to broken dependencies. Next tried installing the dependencies one-by-one, npm i u/react95/corenpm i u/react95/core worked but lots of warning because of incompatible reactjs versionNext, I tried npm i u/react95/gatsby-theme and this doesn't work at allLots of errors and Could not resolve dependency messagesSo, setting it up on new project doesn't work.Next, I cloned their GitHub repo, git clone https://github.com/React95/gatsby-theme.git r95cd r95npm iBUT wait, this is their theme, no point in checking this So, back to my old directory, removed package-lock.json and node_modules and replaced the package.json contents with this, https://github.com/React95/gatsby-theme/blob/master/example/package.jsonAgain ran, npm i and prayed to god that this works, hopefully and guess what, NOPES. same broken dependency issues. And that's when I realised, this theme is BROKEN. Don't waste your time and feel bad, try something else. This has been issue with Gatsby lately, most things don't work. For a last attempt I ran, npm i --forceAnd again, lots of warning. BUT, it did install. YAY?!?Frantically bashed up arrow a few times and ran, npx gatsby develop AND, it wont work, Failed to resolve gatsby-plugin-image unreachablePlease find a better theme or try AstroJS. Good luck."

QUICK EDIT:

I did try making a new site and using the Github URL for the actual theme itself and it like I guess installed the theme or tried to install the theme from the URL of the Github repository and like that doesn't work or anything and if you try to deploy it from the folder after it does that it doesn't work but if I in terminal navigate to the example folder and then deploy the example folders like Json file or whatever it will like deploy properly FROM the example folder so I don't understand why that works or how I could make it work like that but I wanted to mention that that works to get the example working at least

@ggdaltoso
Copy link
Member

I'm gonna take a look for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants