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

new production and deployment problems #6

Open
nbapera opened this issue Dec 7, 2024 · 1 comment
Open

new production and deployment problems #6

nbapera opened this issue Dec 7, 2024 · 1 comment

Comments

@nbapera
Copy link

nbapera commented Dec 7, 2024

I'm not sure what happend, I had created a store last week that was working flawlessly and it was uploaded to netlify. I come back today and see that for some reason it doesn't fetch products on netlify anymore. I've been trying for hours to compile the app with yarn build, there was a problem that Gravatar from react-gravatar can't be used as a jsx component. I literally haven't touched the code and for some reason it wouldn't work now. When I finally fixed the (tsconfig and next.config had to be changed so it basically ignores the error) issue after 6 hours and was able to compile the app and it works perfectly on my local machine. On netlify it won't fetch the products at all for some reason. When I try to go to /products/(product name) it fetches it without problems, but it won't fetch them on the /products page for some reason.

If anyone knows whats happening please help me, I've built a fully working store for my client and now the app collapsed. I've tried to clone the original commerceplate repo and upload it to netlify and still, the same thing happens.

@tfmurad
Copy link
Collaborator

tfmurad commented Dec 28, 2024

@nbapera Are you still facing the issue with fetching products on Netlify? It should be working fine now.

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