Web-admin builder is a Docker image using gulp to build web pages from their templates.
The most probable error reason is that there's no access to the Internet from inside the container.
Diagnostics:
Check the logs of the web admin builder container:
docker ps
930a2a8ce0a2 headwindmdm/node-gulp-builder:15.2.0-alpine3.12-0.2 "/entrypoint.sh" 6 days ago Up 4 minutes node-gulp-builder-container
docker logs 930a2a8ce0a2
You will see something like:
npm ERR! network request to https://registry.npmjs.org/gulp failed, reason: connect ETIMEDOUT 104.16.28.34:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
Solution
You need to run the builder without creating its own network interface (network_mode: host).
Edit the file deploy/pre_webadmin.yaml, find the line
Find the lines
- name: Start build web-admin
docker_container:
and add the line
network_mode: host
This should resolve the issue.