yarnpkg/yarn

yarn add webpack produces javascript heap out of memory

Open

#6.511 aberto em 6 de out. de 2018

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (2.731 forks)batch import
help wanted

Métricas do repositório

Stars
 (41.514 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador