I have quasar vue fronted which use web-pack dev server running inside docker and I use proxy.js (in main directory) to avoid CORS errors for API requests. However when I send request to API in my browser I see folowing error in terminal (where I run docker container): [webpack-dev-server] [HPM] Error occurred while proxying request ..
I don’t know what’s going on, for all the help pages I read, I just can’t seem to get webpack-dev-server HRM to work on my node:16.6.1-alpine3.14 on Windows10 WSL2. It didn’t rebuild after I change the source code. I have followed, https://github.com/microsoft/WSL/issues/4417 CHOKIDAR_USEPOLLING sysctl -w fs.inotify.max_user_watches=524288 (this gives me file read-only error, and I tried ..
Basically what I’m trying to achieve is to have my app running on local.myapp.com instead of localhost. Notice: On the host machine inside /etc/hosts I have 127.0.0.1 local.myapp.com entry and my docker-compose configuration has ports: 80:80. When I run this command on the host machine: yarn serve –port=80 –host=local.myapp.com everything works and I can access ..
I am trying to develop an app through docker-compose. This app has three components: a frontend (built with the Quasar framework) and a backend (built with python/flask), and another API (not relevant here). The problem is: when I execute docker-compose up in my project’s directory, the frontend runs perfectly (I’m able to access it via ..
Changing the file on the host side does not hot reload the file, and manually refreshing the page (F5) does not reflect the content, and I have to restart the container. If I change the file on the host side, the file in the container itself seems to be changed, but However, as mentioned above, ..
I am running a local instance of my webapp on my machine and am trying to access it from within a docker container. My docker container contains my testframework using selenium. Usually this wouldn’t be a problem when the app is accessible via localhost and using host.docker.internal, but the webapp is using a proxy by ..
I am trying to work with Skaffold to deploy Kubernetes. I am trying to deploy a super simple webpack app with the start script: "webpack serve" however I keep on getting "502 Bad Gateway" from nginx when I go to my proxy server. Is there something wrong with my code? This is a screenshot of ..
I build a SPA react-app to deploy in docker container. I have dependency issues with those packages: "webpack": "^5.9.0", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0" with this set up i get this error: Error: Cannot find module ‘webpack-cli/bin/config-yargs’. since webpack-cli recently was upgraded to v4. this error occurs. github-issue . So, I used "webpack-cli": "^3.3.12". but this ..
I have looked at various solutions to no avail. Testing webpack-dev-server on WSL 2 works fine; when I update the src/main.js file the browser updates however when inside of a docker container again running within WSL 2, the browser does not automatically update on saving changes, however the content does update when I manually refresh ..
Goal Use the webpack dev server within a docker setup with the live reload (not HMR) functionality. Problem The CSS & JS bundles don’t get served. In the browser developer console i get 404 Errors for both, CSS & JS (other assets as well) and it shows only the plain HTML. Description I’m working on ..