yarnpkg/yarn

yarn add webpack produces javascript heap out of memory

Open

#6 511 ouverte le 6 oct. 2018

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)JavaScript (2 731 forks)batch import
help wanted

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur