Giter Site home page Giter Site logo

Proxy error about docker-tutorial HOT 4 CLOSED

osteel avatar osteel commented on July 26, 2024
Proxy error

from docker-tutorial.

Comments (4)

osteel avatar osteel commented on July 26, 2024

Hi,

Which part of the series is this? Part 3? Also, what's your setup? Docker for Mac, Windows (WSL 2?), or Linux?

from docker-tutorial.

viethc avatar viethc commented on July 26, 2024

Thanks for your feedback,

Hi,

Which part of the series is this? Part 3? Also, what's your setup? Docker for Mac, Windows (WSL 2?), or Linux?

Yes, part 3 and I using Docker for Mac (10.14.6)
Is there a problem with the installation environment?

from docker-tutorial.

osteel avatar osteel commented on July 26, 2024

Is there a problem with the installation environment?

Not necessarily, I was just eliminating potential sources for the issue :)

I'm not sure where you got this error from (browser? Command line?), but I've done a clean install of part 3 and realised some instructions were missing from the repository's README.

I have now updated them, so my advice would be that you try a clean install too. It'd be better to clean up the previous install first, to avoid any conflicts. From the root of your current install of part 3:

$ docker-compose down -v --rmi all

Once that's done, please try a clean install of part 3 somewhere else on your computer, following the instructions. Let me know if you still have the same issue then, and we'll take it from there if that's the case.

Also, remember that when you do docker-compose up -d, under the hood Yarn starts the development server for the frontend application, which can take a while. After running docker-compose up -d, you can monitor what the frontend container is doing with the following command:

$ docker-compose logs -f frontend

You'll then see when the frontend is actually ready (ctrl + c to exit the logs).

from docker-tutorial.

viethc avatar viethc commented on July 26, 2024

Hi,
Thanks so much for your support.
I found my problem.
The cause of the error is that I have installed the proxy config in the vue.config.js file
I deleted this config.

from docker-tutorial.

Related Issues (6)

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.