hollaex / hollaex-kit

Exchange Starter Kit to run your own Digital Asset Trading Exchange Platform
Other
320 stars 238 forks source link

`@babel/polyfill` is deprecated. Please, use required parts of `core-js` and `regenerator-runtime/runtime` separately #531

Open sampathkumar7 opened 3 years ago

sampathkumar7 commented 3 years ago

While running hollaex web --setup getting error

@babel/polyfill is deprecated. Please, use required parts of core-js and regenerator-runtime/runtime separately

abeikverdi commented 3 years ago

the build crashes afterwards?

umclouds commented 3 years ago

Hello @abeikverdi i got same error crashes afterwards, how fix it?

geodex commented 3 years ago

Hi, I received the same error on a new install, clean server. Mine completed, but after the install, when testing the /v2/health link, or trying to access the page, the page shows that it is loading, but comes up blank.

geodex commented 3 years ago

Hi, I received the same error on a new install, clean server. Mine completed, but after the install, when testing the /v2/health link, or trying to access the page, the page shows that it is loading, but comes up blank.

error after install

abeikverdi commented 3 years ago

@geodex that is a different issue. Its the server connection with the web. You need to run hollaex prod command to use the domain. You can also build the web manually with your server ip address: https://forum.hollaex.com/t/manual-web-deployment/127/2

geodex commented 3 years ago

Thank you for your prompt response. I will try that route.

Kind Regards

Baden Dennis

IE: +353 87 236 8865

GE: +995 55 599 7436

ZA: + 27 71 129 5456

DUNS: 539125672

Stone Hedge Capital UK | Stone Hedge Capital ZA | Stone Hedge Capital Ireland | Stone Hedge Capital Georgia

Offshore Investment | Private Placement | Commodity Arbitrage | Equities | Foreign Exchange | Crypto Markets | Asset Management Services | Family Office Services

Notice:

This communication (including attachments) may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. The information contained in this email is intended solely for the addressee. Access to this email by anyone else or any unauthorized review, use, disclosure or distribution is unauthorized and prohibited. If you are not the named addressee indicated in this message (or responsible for delivery of the message to such person), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by fax or e-mail and delete and destroy all copies of the message. If you are the intended recipient but do not wish to receive communications through this medium, please advise the sender immediately. The Sender accepts no liability for any loss or damages whatsoever and howsoever incurred, or suffered, resulting, or arising, from the use of this email or its attachments. The Sender has taken reasonable precautions but does not warrant the integrity of this e-mail nor that it is free of errors, viruses, interception or interference.

From: Alireza Beikverdi notifications@github.com Reply to: bitholla/hollaex-kit reply@reply.github.com Date: Tuesday 23 February 2021 at 08:04 To: bitholla/hollaex-kit hollaex-kit@noreply.github.com Cc: geodex bd@stonehedge.ie, Mention mention@noreply.github.com Subject: Re: [bitholla/hollaex-kit] @babel/polyfill is deprecated. Please, use required parts of core-js and regenerator-runtime/runtime separately (#531)

@geodex that is a different issue. Its the server connection with the web. You need to run hollaex prod command to use the domain. You can also build the web manually with your server ip address: https://forum.hollaex.com/t/manual-web-deployment/127/2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

schulzf commented 3 years ago

I'm having the same issue here, fresh install. Is there a way to replace polyfill for core-js without ejecting CRA?

turon commented 3 years ago

Also see this issue with a fresh install:

bash ./install.sh
hollaex init --name MyExchange
hollaex server --start
hollaex web --setup
# Issue below before can proceed to --start
# hollaex web --start
% hollaex web --setup                                     
Building the user HollaEx Web image.
Generating .env for Web Client
[+] Building 6.7s (12/17)                                                                                               [+] Building 258.7s (12/17)                                                                                             
[+] Building 285.8s (13/17)                                                                                             
 => [internal] load build definition from Dockerfile                                                               0.0ss
 => => transferring dockerfile: 37B                                                                                0.0ss
 => [internal] load .dockerignore                                                                                  0.0ss
 => => transferring context: 2B                                                                                    0.0ss
 => [internal] load metadata for docker.io/library/nginx:1.16.0-alpine                                             1.7ss
 => [internal] load metadata for docker.io/library/node:12.18.3-alpine                                             1.7ss
 => [build 1/6] FROM docker.io/library/node:12.18.3-alpine@sha256
 => [internal] load build context                                                                                  0.2ss
 => => transferring context: 89.31kB                                                                               0.2ss
 => [stage-1 1/6] FROM docker.io/library/nginx:1.16.0-alpine@sha256
 => CACHED [stage-1 2/6] RUN apk add --update     curl     && rm -rf /var/cache/apk/*                              0.0ss
 => CACHED [build 2/6] WORKDIR /app                                                                                0.0ss
 => CACHED [build 3/6] COPY package.json /app/package.json                                                         0.0ss
 => CACHED [build 4/6] RUN npm install --loglevel=error                                                            0.0ss
 => CACHED [build 5/6] COPY . /app                                                                                 0.0ss
 => ERROR [build 6/6] RUN npm run build                                                                          283.6s 
------                                                                                                                  
 > [build 6/6] RUN npm run build:                                                                                       
#12 0.793                                                                                                               
#12 0.793 > hollaex-kit@2.0.13 build /app                                                                               
#12 0.793 > npm run build-css && react-scripts --max_old_space_size=3072 build                                          
#12 0.793                                                                                                               
#12 1.067 
#12 1.067 > hollaex-kit@2.0.13 build-css /app
#12 1.067 > node-sass-chokidar src/ -o src/
#12 1.067 
#12 1.998 Rendering Complete, saving .css file...
#12 2.008 Wrote CSS to /app/src/index.css
#12 2.009 Wrote 1 CSS files to /app/src/
#12 4.566 Creating an optimized production build...
#12 7.116 
#12 7.116   `@babel/polyfill` is deprecated. Please, use required parts of `core-js`
#12 7.116   and `regenerator-runtime/runtime` separately
#12 282.8 The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process.
#12 282.9 npm ERR! code ELIFECYCLE
#12 282.9 npm ERR! errno 1
#12 282.9 npm ERR! hollaex-kit@2.0.13 build: `npm run build-css && react-scripts --max_old_space_size=3072 build`
#12 282.9 npm ERR! Exit status 1
#12 282.9 npm ERR! 
#12 282.9 npm ERR! Failed at the hollaex-kit@2.0.13 build script.
#12 282.9 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#12 283.5 
#12 283.5 npm ERR! A complete log of this run can be found in:
#12 283.5 npm ERR!     /root/.npm/_logs/2021-03-27T00_21_09_320Z-debug.log
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
Failed to build the image.
Please confirm your configurations and try again.
If you are not on a latest HollaEx Kit, Please update it first to latest.
Marian0 commented 3 years ago

Same issue here .

Rendering Complete, saving .css file...
Wrote CSS to /app/src/index.css
Wrote 1 CSS files to /app/src/
Creating an optimized production build...

  `@babel/polyfill` is deprecated. Please, use required parts of `core-js`
  and `regenerator-runtime/runtime` separately`
abeikverdi commented 2 years ago

This is most likely due to the lack of enough memory on your machine. Make sure you have 8gb available before running the web build.