I had issues after the 2.2.1 update and tried all kinds of things to get the web to build but its still not working. I deleted all docker containers, tried editing the configmap, etc. to no available. Is it possible to recreate the initial web container? Right now I try building the web but it hangs and never complete it even after many hours.
How can I recreate the web container? Here’s what I tried:
Sending build context to Docker daemon 471MB Step 1/15 : FROM node:12.18.3-buster as build
** —> 8de87569b730** Step 2/15 : ENV NODE_OPTIONS=–max_old_space_size=3072
** —> Using cache**
** —> 0c87d5c58ebd** Step 3/15 : WORKDIR /app
** —> Using cache**
** —> d1b04e716b52** Step 4/15 : COPY package.json /app/package.json
** —> Using cache**
** —> e3a0665230dc** Step 5/15 : RUN npm config set unsafe-perm true && npm install -g node-gyp && npm install --loglevel=error
** —> Using cache**
** —> 7fee45b0c679** Step 6/15 : COPY . /app
** —> 2c20884cd867** Step 7/15 : RUN npm run build
** —> Running in 5776ffe614ae**
Rendering Complete, saving .css file… Wrote CSS to /app/src/index.css Wrote 1 CSS files to /app/src/ Creating an optimized production build…
After running that, I see with docker images that there is an image created but its not getting named. So I use docker tag and tag it. I then try to apply it and then I get errors such as:
Error: Cannot find module '/app/tools/general/random.js’
** at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)**
** at Function.Module._load (internal/modules/cjs/loader.js:841:27)**
** at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)**
** at internal/main/run_main_module.js:17:47 {**
** code: ‘MODULE_NOT_FOUND’,**
** requireStack: []** }
So from what I understand, its not completely build…
HollaEx Kit uses Reactjs framework as a single page application and communicates with the back-end servers through REST API and Websocket channels.
Development
Requirements
You need to have nodejs and npm installed
Installation
clone the repository
cd web
npm install
Run in your local machine
HollaEx uses sass for styling. You need to generate css files before running the project. node run build-css builds all css files from sass styles in /src folder.
npm start it will also listen to changes in sass files and autogenerates css files in there.
Production
You can build the project by running npm run build and the projects builds the entire client in /build folder
I am at a lost here since a brand new AWS Ubuntu Server 20 instance with a brand new exchange.
I tried doing a docker tag repositoryname:tag and then tried to apply it but its throwing all kinds of error as I suspect the image never got built properly.
So the issue seems to be that the image building process end without an error but never builds properly. I am using the following AWS image: ubuntu-focal-20.04-amd64-server-20210430
Docker Version:
Client: Docker Engine - Community
Version: 20.10.9
API version: 1.41
Go version: go1.16.8
Git commit: c2ea9bc
Built: Mon Oct 4 16:08:29 2021
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.9
API version: 1.41 (minimum version 1.12)
Go version: go1.16.8
Git commit: 79ea9d3
Built: Mon Oct 4 16:06:34 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.11
GitCommit: 5b46e404f6b9f661a205e28d59c982d3634148f8
runc:
Version: 1.0.2
GitCommit: v1.0.2-0-g52b36a2
docker-init:
Version: 0.19.0
GitCommit: de40ad0
It doesnt work. I tried 10 time with new aws instances and always the same issue: nginx doesnt start after the server build and it carries the problem with building the web. Not sure how you got it to work on a fresh instance but there is clearly an issue as I am not the only one. Never had isse with previous CLI and was running for almost a year…