Closed kckst8 closed 2 years ago
Describe the bug When starting a web application in dev mode using @bentley/react-scripts (i.e. the iTwin Viewer starter template)
To Reproduce Steps to reproduce the behavior:
Expected behavior Code compiles and the application is served on localhost:3000
Actual behavior OOM error:
Screenshots
Desktop (please complete the applicable information):
Additional context The issue does not appear to be present in 3.0.x
Workaround Adding the following environment variables helps to bypass the issue (i.e. in your .env file):
USE_FAST_SASS=true TRANSPILE_DEPS=false DISABLE_TERSER=true
However, this seems to be working around a larger problem
Fixed & published in 3.1.2
Describe the bug When starting a web application in dev mode using @bentley/react-scripts (i.e. the iTwin Viewer starter template)
To Reproduce Steps to reproduce the behavior:
Expected behavior Code compiles and the application is served on localhost:3000
Actual behavior OOM error:
Screenshots
Desktop (please complete the applicable information):
Additional context The issue does not appear to be present in 3.0.x
Workaround Adding the following environment variables helps to bypass the issue (i.e. in your .env file):
USE_FAST_SASS=true TRANSPILE_DEPS=false DISABLE_TERSER=true
However, this seems to be working around a larger problem