WebpackLoaderTimeoutError when opening Studio home

I just set up the devstack following the Getting Started guide.

I have used “make dev.up” to start all containers.
Than, I accessed http://localhost:18010 to get to Studio, but I got

|Exception Type:|WebpackLoaderTimeoutError|
|Exception Value:|Timed Out. Bundle commons took more than 5 seconds to compile.|

I have edited /edx-platform/cms/envs/devstack.py and changed

WEBPACK_LOADER[‘DEFAULT’][‘TIMEOUT’] = 5

to

WEBPACK_LOADER[‘DEFAULT’][‘TIMEOUT’] = 60 # (and to None as well, did not work)

So, it does seem that, no matter how long it has, webpack loader is not compiling.

FULL STACK TRACE BELOW:
Environment:

Request Method: GET
Request URL: http://localhost:18010/

Django Version: 2.2.24
Python Version: 3.8.10
Installed Applications:
[‘django.contrib.auth’,
‘django.contrib.contenttypes’,
‘django.contrib.humanize’,
‘django.contrib.redirects’,
‘django.contrib.sessions’,
‘django.contrib.sites’,
‘django.contrib.messages’,
‘django.contrib.staticfiles’,
‘django_celery_results’,
‘method_override’,
‘openedx.core.djangoapps.common_initialization.apps.CommonInitializationConfig’,
‘openedx.core.djangoapps.common_views’,
‘openedx.core.djangoapps.api_admin’,
‘corsheaders’,
‘openedx.core.djangoapps.cors_csrf’,
‘simple_history’,
‘config_models’,
‘openedx.core.djangoapps.config_model_utils’,
‘waffle’,
‘openedx.core.djangoapps.service_status’,
‘openedx.core.djangoapps.video_config’,
‘openedx.core.djangoapps.video_pipeline’,
‘cms.djangoapps.contentstore.apps.ContentstoreConfig’,
‘openedx.core.djangoapps.contentserver’,
‘cms.djangoapps.course_creators’,
‘common.djangoapps.student.apps.StudentConfig’,
‘openedx.core.djangoapps.course_groups’,
‘cms.djangoapps.xblock_config.apps.XBlockConfig’,
‘cms.djangoapps.export_course_metadata.apps.ExportCourseMetadataConfig’,
‘openedx.core.djangoapps.xblock.apps.StudioXBlockAppConfig’,
‘cms.djangoapps.maintenance’,
‘openedx.core.djangoapps.util.apps.UtilConfig’,
‘common.djangoapps.track’,
‘eventtracking.django.apps.EventTrackingConfig’,
‘event_routing_backends.apps.EventRoutingBackendsConfig’,
‘common.djangoapps.edxmako.apps.EdxMakoConfig’,
‘pipeline’,
‘common.djangoapps.static_replace’,
‘require’,
‘webpack_loader’,
‘openedx.core.djangoapps.site_configuration’,
‘openedx.core.djangoapps.crawlers’,
‘openedx.core.djangoapps.django_comment_common’,
‘openedx.core.djangoapps.discussions’,
‘django.contrib.admin’,
‘common.djangoapps.course_modes.apps.CourseModesConfig’,
‘openedx.core.djangoapps.verified_track_content’,
‘openedx.core.djangoapps.dark_lang’,
‘wiki’,
‘django_notify’,
‘lms.djangoapps.course_wiki’,
‘mptt’,
‘sekizai’,
‘openedx.core.djangoapps.user_api’,
‘openedx.core.djangoapps.embargo’,
‘common.djangoapps.course_action_state’,
‘edx_jsme’,
‘submissions’,
‘openassessment’,
‘openassessment.assessment’,
‘openassessment.fileupload’,
‘openassessment.workflow’,
‘openassessment.xblock’,
‘edxval’,
‘openedx.core.djangoapps.content.course_overviews.apps.CourseOverviewsConfig’,
‘openedx.core.djangoapps.content.block_structure.apps.BlockStructureConfig’,
‘milestones’,
‘openedx.core.djangoapps.self_paced’,
‘openedx.core.djangoapps.coursegraph.apps.CoursegraphConfig’,
‘openedx.core.djangoapps.credit.apps.CreditConfig’,
‘common.djangoapps.xblock_django’,
‘openedx.core.djangoapps.catalog’,
‘openedx.core.djangoapps.programs.apps.ProgramsConfig’,
‘oauth2_provider’,
‘openedx.core.djangoapps.oauth_dispatch.apps.OAuthDispatchAppConfig’,
‘lms.djangoapps.courseware’,
‘lms.djangoapps.coursewarehistoryextended’,
‘lms.djangoapps.survey.apps.SurveyConfig’,
‘lms.djangoapps.verify_student.apps.VerifyStudentConfig’,
‘completion’,
‘openedx.core.djangoapps.system_wide_roles’,
‘statici18n’,
‘cms.lib.xblock.tagging’,
‘django_sites_extensions’,
‘release_util’,
‘rules.apps.AutodiscoverRulesConfig’,
‘bridgekeeper’,
‘user_tasks’,
‘cms.djangoapps.cms_user_tasks.apps.CmsUserTasksConfig’,
‘common.djangoapps.database_fixups’,
‘celery_utils’,
‘openedx.core.djangoapps.waffle_utils’,
‘django_filters’,
‘cms.djangoapps.api’,
‘csrf.apps.CsrfAppConfig’,
‘common.djangoapps.entitlements’,
‘common.djangoapps.pipeline_mako’,
‘drf_yasg’,
‘openedx.features.course_duration_limits’,
‘openedx.features.content_type_gating’,
‘openedx.features.discounts’,
‘openedx.features.effort_estimation’,
‘lms.djangoapps.experiments’,
‘openedx.core.djangoapps.external_user_ids’,
‘openedx.core.djangoapps.heartbeat’,
‘openedx.core.djangoapps.course_date_signals’,
‘openedx.core.djangoapps.schedules’,
‘rest_framework_jwt’,
‘openedx.core.djangoapps.content.learning_sequences.apps.LearningSequencesConfig’,
‘ratelimitbackend’,
‘organizations’,
‘edx_django_utils.user’,
‘social_django’,
‘pylti1p3.contrib.django.lti1p3_tool_config’,
‘edx_sga’,
‘enterprise’,
‘consent’,
‘integrated_channels.integrated_channel’,
‘integrated_channels.degreed’,
‘integrated_channels.sap_success_factors’,
‘integrated_channels.xapi’,
‘integrated_channels.cornerstone’,
‘integrated_channels.blackboard’,
‘integrated_channels.canvas’,
‘integrated_channels.moodle’,
‘openedx.core.djangoapps.ace_common.apps.AceCommonConfig’,
‘openedx.features.announcements.apps.AnnouncementsConfig’,
‘openedx.core.djangoapps.bookmarks.apps.BookmarksConfig’,
‘openedx.core.djangoapps.content_libraries.apps.ContentLibrariesConfig’,
‘openedx.core.djangoapps.course_apps.apps.CourseAppsConfig’,
‘lms.djangoapps.discussion.apps.DiscussionConfig’,
‘lms.djangoapps.instructor.apps.InstructorConfig’,
‘openedx.core.djangoapps.olx_rest_api.apps.OlxRestApiAppConfig’,
‘openedx.core.djangoapps.password_policy.apps.PasswordPolicyConfig’,
‘openedx.core.djangoapps.plugins.apps.PluginsConfig’,
‘openedx.core.djangoapps.theming.apps.ThemingConfig’,
‘openedx.core.djangoapps.user_authn.apps.UserAuthnConfig’,
‘openedx.core.djangoapps.zendesk_proxy.apps.ZendeskProxyConfig’,
‘edx_name_affirmation.apps.EdxNameAffirmationConfig’,
‘edx_proctoring.apps.EdxProctoringConfig’,
‘lti_consumer.apps.LTIConsumerApp’,
‘edx_when.apps.EdxWhenConfig’,
‘debug_toolbar’]
Installed Middleware:
[‘openedx.core.lib.x_forwarded_for.middleware.XForwardedForMiddleware’,
‘crum.CurrentRequestUserMiddleware’,
‘edx_django_utils.cache.middleware.RequestCacheMiddleware’,
‘edx_django_utils.monitoring.MonitoringMemoryMiddleware’,
‘openedx.core.lib.request_utils.CookieMonitoringMiddleware’,
‘openedx.core.djangoapps.cookie_metadata.middleware.CookieNameChange’,
‘openedx.core.djangoapps.header_control.middleware.HeaderControlMiddleware’,
‘django.middleware.cache.UpdateCacheMiddleware’,
‘django.middleware.common.CommonMiddleware’,
‘django.contrib.sites.middleware.CurrentSiteMiddleware’,
‘django.middleware.csrf.CsrfViewMiddleware’,
‘corsheaders.middleware.CorsMiddleware’,
‘openedx.core.djangoapps.cors_csrf.middleware.CorsCSRFMiddleware’,
‘openedx.core.djangoapps.cors_csrf.middleware.CsrfCrossDomainCookieMiddleware’,
‘edx_rest_framework_extensions.auth.jwt.middleware.JwtAuthCookieMiddleware’,
‘django_sites_extensions.middleware.RedirectMiddleware’,
‘openedx.core.djangoapps.safe_sessions.middleware.SafeSessionMiddleware’,
‘method_override.middleware.MethodOverrideMiddleware’,
‘openedx.core.djangoapps.cache_toolbox.middleware.CacheBackedAuthenticationMiddleware’,
‘common.djangoapps.student.middleware.UserStandingMiddleware’,
‘openedx.core.djangoapps.contentserver.middleware.StaticContentServer’,
‘django.contrib.messages.middleware.MessageMiddleware’,
‘common.djangoapps.track.middleware.TrackMiddleware’,
‘openedx.core.djangoapps.lang_pref.middleware.LanguagePreferenceMiddleware’,
‘openedx.core.djangoapps.dark_lang.middleware.DarkLangMiddleware’,
‘openedx.core.djangoapps.embargo.middleware.EmbargoMiddleware’,
‘django.middleware.locale.LocaleMiddleware’,
‘codejail.django_integration.ConfigureCodeJailMiddleware’,
‘ratelimitbackend.middleware.RateLimitMiddleware’,
‘openedx.core.djangoapps.session_inactivity_timeout.middleware.SessionInactivityTimeout’,
‘openedx.core.djangoapps.theming.middleware.CurrentSiteThemeMiddleware’,
‘django.middleware.clickjacking.XFrameOptionsMiddleware’,
‘waffle.middleware.WaffleMiddleware’,
‘edx_django_utils.cache.middleware.TieredCacheMiddleware’,
‘edx_rest_framework_extensions.middleware.RequestCustomAttributesMiddleware’,
‘edx_rest_framework_extensions.auth.jwt.middleware.EnsureJWTAuthSettingsMiddleware’,
‘simple_history.middleware.HistoryRequestMiddleware’,
‘openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware’,
‘debug_toolbar.middleware.DebugToolbarMiddleware’]

Traceback:

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/core/handlers/exception.py” in inner
34. response = get_response(request)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/core/handlers/base.py” in _get_response
115. response = self.process_exception_by_middleware(e, request)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/core/handlers/base.py” in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File “/usr/lib/python3.8/contextlib.py” in inner
75. return func(*args, **kwds)

File “/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/views/public.py” in howitworks
59. return render_to_response(‘howitworks.html’, {})

File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py” in render_to_response
188. return HttpResponse(render_to_string(template_name, dictionary, namespace, request), **kwargs)

File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py” in render_to_string
178. return template.render(dictionary, request)

File “/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/template.py” in render
82. return self.mako_template.render_unicode(**context_dictionary)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/mako/template.py” in render_unicode
478. return runtime._render(

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/mako/runtime.py” in _render
878. _render_context(

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/mako/runtime.py” in _render_context
920. _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/mako/runtime.py” in exec_template
947. callable
(context, *args, **kwargs)

File “/tmp/mako_cms/5ad50d53547dca6408eb97d1b0794e5f/base.html.py” in render_body
226. __M_writer(filters.html_escape(filters.decode.utf8(static.webpack(entry=‘commons’))))

File “/tmp/mako_cms/5ad50d53547dca6408eb97d1b0794e5f/static_content.html.py” in render_webpack
282. __M_writer(filters.html_escape(filters.decode.utf8(HTML(render_bundle(entry, extension=None, config=‘DEFAULT’, attrs=attrs)))))

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/webpack_loader/templatetags/webpack_loader.py” in render_bundle
12. tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/webpack_loader/utils.py” in get_as_tags
62. bundle = _get_bundle(bundle_name, extension, config)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/webpack_loader/utils.py” in _get_bundle
40. bundle = get_loader(config).get_bundle(bundle_name)

File “/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/webpack_loader/loader.py” in get_bundle
74. raise WebpackLoaderTimeoutError(

Exception Type: WebpackLoaderTimeoutError at /
Exception Value: Timed Out. Bundle commons took more than 60 seconds to compile.