diff --git a/browser/components/storybook/mach_commands.py b/browser/components/storybook/mach_commands.py index f5332f4d16c5..faf4f5b8e917 100644 --- a/browser/components/storybook/mach_commands.py +++ b/browser/components/storybook/mach_commands.py @@ -2,10 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -from mach.decorators import ( - Command, - SubCommand, -) +from mach.decorators import Command, SubCommand def run_mach(command_context, cmd, **kwargs): @@ -40,6 +37,12 @@ def storybook_launch(command_context): description="Install Storybook node dependencies.", ) def storybook_install(command_context): + # Bug 1790483: First, we need to make sure lit is installed + run_mach( + command_context, + "npm", + args=["run", "vendor", "--prefix=toolkit/content/vendor/lit"], + ) return run_npm(command_context, args=["ci"])