yarnpkg/yarn

yarn add webpack produces javascript heap out of memory

Open

#6511 aperta il 6 ott 2018

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (2731 fork)batch import
help wanted

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Do you want to request a feature or report a bug?

Bug What is the current behavior? yarn produces javascript heap out of memory issue when upgrading to webpack@4.20.2 particularly. I have not found it to be an issue when upgrading other packages.

further investigation shows that anything beyond 4.5.0 have this out of memory issue. I was able to successfully install webpack@4.5.0

If the current behavior is a bug, please provide the steps to reproduce.

git clone https://github.com/fobbyal/yarn-install-mem-heap-issue.git
yarn install
yarn add webpack@4.20.2

What is the expected behavior? yarn installs the webpack@4.20.2 succssfully.

Please mention your node.js, yarn and operating system version. yarn@1.10.1 node@8.10.0 on OSX and node@8.12.0 on arch linux

Guida contributor