1
vote
Accepted
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory - SPFX Solutionn Terminal error
You have to increase the memory dedicated to gulp. Try this command:
gulp serve --nobrowser --max_old_space_size=4000
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
spfx-webparts × 1256spfx × 930
sharepoint-online × 676
spfx-tooling × 120
react × 115
modern-experience × 96
sharepoint-framework × 77
typescript × 63
spfx-extensions × 58
web-part × 54
javascript × 53
office-ui-fabric-react × 52
reactjs × 52
pnpjs × 47
pnp × 45
sharepoint-rest-api × 42
sharepoint-server × 36
error × 36
development × 32
microsoft-graph × 31
spfx-custom-property-pane × 29
office-365 × 28
pnp-js-core × 26
gulp × 24
react-webpart × 22