Closed PabloIT closed 5 years ago
Could you try adding the following to your build.gradle and see if it works?
vaadinTranspileDependencies.yarnRunner.environment.put('NODE_OPTIONS', '--max-old-space-size=8192')
I confirm, the given solution works well. Thanks.
In a large project, when productionMode = true, an error occurs:
The solution may be to increase or to set the parameter for the node: --max-old-space-size
Example of the yarn.cmd file: