M3kH / issue-storybook-webpack-5

Out of memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack scanning too many files with Storybook

This is a repository to test an issue with storybook@7 and webpack@5

Storybook runs out of memory and can either carsh with:

  • RangeError: Maximum call stack size exceeded
  • FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Requirements

  • Linux File System (Currently tested with Docker Alpine and with ArchLinux)
  • A tons of node_modules
  • storybook build

Use this repository

  • Install docker
  • make storybook.build

About

Out of memory


Languages

Language:TypeScript 52.2%Language:CSS 41.6%Language:JavaScript 4.7%Language:Makefile 1.1%Language:Dockerfile 0.4%