coreui-free-react-admin-template: npm run build freezes on "Creating an optimized production build..."

This is for the newest release (2.0.13), as I’ve got an older version (2.0.8) that builds fine. The current build hangs even after running it overnight. I am using Windows Subsystem for Linux on two different machines and am experiencing the same issues with both (32GB of RAM in both and one machine has an i7 4th gen and the other an i7 7th gen). Any idea what might be going on to cause the current version to hang while 2.0.8 builds with dozens of other additions in ~100 seconds? Thanks.

npm run build

> @coreui/coreui-free-react-admin-template@2.0.13 build /mnt/c/Users/mikem/WebstormProjects/antd/client
> react-scripts build

Creating an optimized production build...

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

I’m having the same issue but sudo doesn’t fix it.
I am using ubuntu 16.04 on windows 10, Node version: 10.15.0 NPm version: 6.4.1

@coreui/coreui-free-react-admin-template@2.1.4 build /mnt/c/Users/binakum/Projects/coreuiReact react-scripts build

Creating an optimized production build…

hi @jmandivarapu1

Set GENERATE_SOURCEMAP=false in your .env file and if it works for you, please let us know.

hi @jmandivarapu1

Set GENERATE_SOURCEMAP=false in your .env file and if it works for you, please let us know.

Hi… I fixed it by changing the react scripts to latest version 3.0. Then everything works as expected

Check your RAM, my issue got fixed when I make build on 16GB RAM, it required more RAM previously I was trying make build on 8GB RAM system

On Sat, 27 Apr 2019, 01:46 JayaKrishna Mandivarapu, < notifications@github.com> wrote:

I’m having the same issue but sudo doesn’t fix it. I am using ubuntu 16.04 on windows 10, Node version: 10.15.0 NPm version: 6.4.1

@coreui/coreui-free-react-admin-template@2.1.4 build /mnt/c/Users/binakum/Projects/coreuiReact react-scripts build

Creating an optimized production build…

I am also having same issue even with SUDO i am using pro coreui version

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/coreui/coreui-free-react-admin-template/issues/125#issuecomment-487187729, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4ZCFPHEGGB2TCSOY22SPTPSNPLBANCNFSM4GAC6FCA .

why does this problem still exist now