Comments (9)
I also have a problem with my Linux. I found that changing the argument of the frontstore service in docker-compose.yaml from --hostname to --host resolve this problem.
from saleor-platform.
For me, admin panel works but the website is not working. I tried it 3 times after remove all volumes and images via docker system prune -a
and docker system prune --volumes
. I waited a day about 8-9 hrs so that it can work but no changes. the URL 127.0.0.1:3000, 0.0.0.0:3000, localhost:3000 nothing works. rest is working fine.
from saleor-platform.
I got the same issue. I followed the exact steps in saleor-platform repo, the api and the dashboard were just working fine, but the storefront. I also changed from --hostname to --host and it worked. Actually in the docker-compose, it is also like this for the dashboard.
from saleor-platform.
Observations
Windows Docker tested a couple of days ago:
- Backend API was fine
- Dashboard threw NPM errors
- Storefront threw NPM errors
Linux Docker tested yesterday:
- Backend API is fine
- Dashboard is fine
- Storefront throws NPM warnings and doesn't load the storefront website
from saleor-platform.
As hinted by @ptmew , such a commit resolved the storefront issue on Linux:
diff --git a/docker-compose.yml b/docker-compose.yml
index c53b920..ac34d90 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -39,7 +39,9 @@ services:
volumes:
- ./saleor-storefront/:/app:cached
- /app/node_modules/
- command: npm start -- --hostname 0.0.0.0
+ command: npm start -- --host 0.0.0.0
Now the storefront is available at http://localhost:3000
I don't care about Windows anymore. So, I cannot test on the Windows platform.
from saleor-platform.
@ptmew Just curious, how did you figure out to replace --hostname
with --host
? Did you just randomly do trial-and-error? Did you have any hint from somewhere? What was your research process? Thanks!
from saleor-platform.
On MacOS the "frontstore" does not work even after changing --hostname
to --host
😆 The rest works.
from saleor-platform.
Issue resolved
from saleor-platform.
hos
this is running via docker and configured on a domain.. but this api is running on a localhost on a server... any idea what wrong ?
from saleor-platform.
Related Issues (20)
- Investigate AWS Marketplace setup for Platform
- Some error and warning logs when navigating to the checkout page HOT 1
- Official docker images should be advertised more HOT 2
- I can't open STOREFRONT and DASHBOARD (graphql loaded from localhost:8000/graphql HOT 4
- Unable to see any payment method HOT 1
- Metadata not getting saved while create checkout HOT 1
- Cannot create super user in when installing with docker HOT 1
- Cannot build
- docker-compose.yml points to wrong dashboard version. HOT 1
- CORS problem with the latest docker compose file HOT 2
- nothing shows up on port 3001 after docker compose up HOT 4
- storefront service is missing from docker-compose.yml at master branch HOT 4
- Login went wrong. Please try again. HOT 13
- Login went wrong. Please try again. HOT 4
- Unknown backend exception with CACHE_URL environment variable HOT 1
- Saleor does not load product images. HOT 3
- failing to pull images? HOT 1
- Login went wrong. Please try again. HOT 4
- Latest docker tag does not point to the latest version HOT 1
- `version` is obsolete HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saleor-platform.