Comments (10)
Have you tried refreshing http://localhost:5104
or even stopping/starting the solution? I've come across this error in the past, and then it seemed to be transient.
from eshopondapr.
I've tried refreshing it, restarting it, with no success.
Is this an angular thing? I know it's somewhat popular, but I really prefer straight html/js/css, not sure what's going on here, this is/should be the simplest part of the solution :)
Edit: Tried it on another machine and got the same results :(
from eshopondapr.
Note: I downloaded the latest with changes to WebSpa, but it still didn't work, but also didn't throw an exception.
However, I tried running it using the command line: "docker-compose up"
This worked, the main page came up from http://localhost:5104 redirecting to http://localhost:5104/catalog
There were missing images and functionality, which appears to indicate root directory issues possibly.
from eshopondapr.
Hmmm, I can't repro your docker-compose problem with some of the images not loading. I've tested running the solution using docker-compose up
on both macOS and Windows and that worked.
BTW to buy something in the shop, you need to login first (top-right button). Otherwise, you won't be able to add any items to your basket.
My main focus now is getting the Blazor front-end up & running which will definitely take care of any Angular-related problems ;-)
from eshopondapr.
I have been there, have the same issue when run by visual studio , i will try to run by powershell
from eshopondapr.
Just pushed some fixes that should make the SPA work properly both when running from Visual Studio and Docker Compose directly.
@samcov @timfun Can you check if the latest update works for you?
from eshopondapr.
The catalog does come up(with all pictures), but I don't see a login button anywhere.
from eshopondapr.
It's in the top-right, but the visibility is not great with the current background image.
from eshopondapr.
Found it!!!
I logged in and was able to add items to the cart, and then check out.
GREAT Job, Thanks!
from eshopondapr.
Just pushed some fixes that should make the SPA work properly both when running from Visual Studio and Docker Compose directly.
@samcov @timfun Can you check if the latest update works for you?
I find a way to make it work when running from Visual Studio.
add the code below to WebSpa.csproj at the end of node.
''
I will try your fix thks
from eshopondapr.
Related Issues (20)
- Using GCP Pub/Sub instead of RabbitMQ HOT 4
- Error when running in visual studio HOT 1
- Image deployment in container app HOT 1
- An unhandled error has occurred. Reload HOT 2
- Suggestion: A true Enterprise Architecture Sample
- ystem.AggregateException: One or more errors occurred HOT 1
- Blazor dlls blocked by Sophos HOT 2
- Azure Container Apps Missing SecretStore HOT 2
- buildingblocks.png HOT 2
- "BlazorClient" VS "BlazorClient.Host"
- Why no Azure DevOps pipeline
- How to generate migration files? HOT 2
- How to atomically persist state and send events (e.g. ProductPriceChangedIntegrationEvent) ?
- Error: eshop-secrets.json in dapr self hosted mode and kubernets HOT 1
- Bad practices in Bicep files
- Error when starting with Docker-compose from visual studio. HOT 1
- failed to run "Run eShopOnDapr on a local Kubernetes cluster using Docker for Desktop" on my docker desktop on mac
- The scope in the docker image is wrong, and the image source of docker compose should be indicated
- A duplicate key 'release' was found in the secret store 'eshopondapr-secretstore'. Please remove any duplicates from your secret store (GitOps)
- Update to .NET 8
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 eshopondapr.