Giter Site home page Giter Site logo

Comments (10)

amolenk avatar amolenk commented on May 22, 2024

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.

samcov avatar samcov commented on May 22, 2024

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.

samcov avatar samcov commented on May 22, 2024

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.
image

from eshopondapr.

amolenk avatar amolenk commented on May 22, 2024

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.

timfun avatar timfun commented on May 22, 2024

I have been there, have the same issue when run by visual studio , i will try to run by powershell

from eshopondapr.

amolenk avatar amolenk commented on May 22, 2024

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.

samcov avatar samcov commented on May 22, 2024

The catalog does come up(with all pictures), but I don't see a login button anywhere.

from eshopondapr.

amolenk avatar amolenk commented on May 22, 2024

It's in the top-right, but the visibility is not great with the current background image.

image

from eshopondapr.

samcov avatar samcov commented on May 22, 2024

Found it!!!

I logged in and was able to add items to the cart, and then check out.

GREAT Job, Thanks!

from eshopondapr.

timfun avatar timfun commented on May 22, 2024

@amolenk

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.