Setup local development environment

While setup tutor development on my local environment getting error on building openedx-dev images. Error during execution of:
> RUN npm run webpack

ERROR in ./lms/static/js/learner_dashboard/views/course_entitlement_view.js 14:0-106
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/verification_popover.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/course_entitlement_factory.js 1:0-68 3:13-34

ERROR in ./lms/static/js/learner_dashboard/views/expired_notification_view.js 5:0-106
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/expired_notification.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/course_card_view.js 8:0-66 115:43-66
@ ./lms/static/js/learner_dashboard/views/program_details_view.js 9:0-48 146:27-41 156:27-41 167:27-41
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/explore_new_programs_view.js 5:0-94
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/explore_new_programs.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/sidebar_view.js 5:0-58 32:35-50
@ ./lms/static/js/learner_dashboard/program_list_factory.js 13:0-47 81:8-19

ERROR in ./lms/static/js/learner_dashboard/views/program_card_view.js 8:0-90
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/program_card.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/program_list_factory.js 10:0-56 76:15-30

ERROR in ./lms/static/js/learner_dashboard/views/program_details_sidebar_view.js 12:0-97
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/program_details_sidebar.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/program_details_view.js 12:0-57 177:31-42
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/program_details_view.js 20:0-91
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/program_details_view.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/program_details_view.js 21:0-98
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/program_details_tab_view.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/program_header_view.js 5:0-90
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/program_header_view.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/program_details_view.js 11:0-47 125:30-40
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/sidebar_view.js 7:0-81
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/sidebar.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/program_list_factory.js 13:0-47 81:8-19

ERROR in ./lms/static/js/learner_dashboard/views/upgrade_message_view.js 5:0-96
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/upgrade_message.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/course_card_view.js 6:0-56 93:38-56
@ ./lms/static/js/learner_dashboard/views/program_details_view.js 9:0-48 146:27-41 156:27-41 167:27-41
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in ./lms/static/js/learner_dashboard/views/upgrade_message_view.js 6:0-121
Module not found: Error: Can’t resolve ‘…/…/…/templates/learner_dashboard/upgrade_message_subscription.underscore’ in ‘/openedx/edx-platform/lms/static/js/learner_dashboard/views’
@ ./lms/static/js/learner_dashboard/views/course_card_view.js 6:0-56 93:38-56
@ ./lms/static/js/learner_dashboard/views/program_details_view.js 9:0-48 146:27-41 156:27-41 167:27-41
@ ./lms/static/js/learner_dashboard/program_details_factory.js 1:0-62 3:13-31

ERROR in AboutBlockDisplay
Module not found: Error: Can’t resolve ‘./xmodule/js/common_static/js/vendor/draggabilly.js’ in ‘/openedx/edx-platform’

ERROR in CourseInfoBlockDisplay
Module not found: Error: Can’t resolve ‘./xmodule/js/common_static/js/vendor/draggabilly.js’ in ‘/openedx/edx-platform’

ERROR in HtmlBlockDisplay
Module not found: Error: Can’t resolve ‘./xmodule/js/common_static/js/vendor/draggabilly.js’ in ‘/openedx/edx-platform’

ERROR in SingleSupportForm
Module not found: Error: Can’t resolve ‘./lms/static/support/jsx/single_support_form.jsx’ in ‘/openedx/edx-platform’

ERROR in StaticTabBlockDisplay
Module not found: Error: Can’t resolve ‘./xmodule/js/common_static/js/vendor/draggabilly.js’ in ‘/openedx/edx-platform’

35 errors have detailed information that is not shown.
Use ‘stats.errorDetails: true’ resp. ‘–stats-error-details’ to show it.

webpack 5.91.0 compiled with 35 errors in 333573 ms

Can someone please help me!!!

Hi @Khalid_Khan! Welcome to the forum!

Did you manage to launch a clean dev site first with tutor dev launch? Which Tutor version do you have?

Hi, I have installed tutor dev launch successfully. thanks @Andres.Aulasneo

1 Like