laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

Errors after Laravel 8 Upgrade - Slow build and **ERROR** Failed to apply patch for package bulma-rtl #341

Closed kinger251285 closed 3 years ago

kinger251285 commented 3 years ago

This is a bug/error.

Prerequisites

Description

All since upgrading to Laravel 8. Yarn build has gone from 100 seconds to over 30 minutes on an existing build.

A fresh install encounters this error and i cannot fix it - ERROR Failed to apply patch for package bulma-rtl.

We sometimes also hit an innefective mark-compacts near heap limit allocation failed - although opening up 8gb

It seems like there may be a data leak somewhere or an issue within the js.maps, thats just a feeling.

Ive tried every googling and tried all suggestions and nothing fixes this.

Ive tried a local homestead, a wamp server and a live LAMP Ubuntu stack and all produce the same results.

Please let me know if you would like to see any code or files, not sure entirely what is causing this so not sure what code will be needed.

Expected behavior

Build successfully

Actual behavior

Build Fails

kinger251285 commented 3 years ago

Have also just tried the rimraf option with an npm run build and i get the FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

This is on a local homestead dev on windows. This error occurs also with a yarn build on linux too though

aocneanu commented 3 years ago

@kinger251285 I was not able to reproduce this in any of our projects, nor a fresh clone.